- WINDOWS XP TASKBAR FOR WINDOWS 7 HOW TO
- WINDOWS XP TASKBAR FOR WINDOWS 7 UPDATE
- WINDOWS XP TASKBAR FOR WINDOWS 7 ARCHIVE
The solutions suggested here of pinning cmd.exe and then revising it are really only getting half way there. I thought I had the same issue and tried a few things here, only to finally realize that the solution is pretty simple:įor starters, no, batch/cmd files cannot be added to the taskbar directly by drag and drop or by pinning (this is a bug/shortcoming IMO), but that's the way it is. %localappdata%\ProgramFolder\ProgramName.exe Robocopy \\server\share %localappdata%\ProgramFolder
WINDOWS XP TASKBAR FOR WINDOWS 7 UPDATE
If user pin's this direct program exe and starts using it my update procedure doesn't work anymore.
Now I can convert this cmd to exe and pin it but when I launch it I have pinned "converted cmd" and started program exe on my taskbar and I can This really solves cmd pinning problem, but how about when I launch exe file from this converted cmd, I have two separate taskbar buttons to same program.įor make it clear I have cmd that copies/updates program to local disk and after that it starts that program. Mybatch.exe <- Create a shortcut to this and pin to Task Bar Mybatch.bat <- Keep in case you want to change latter Now you should have 2 files with the same name with different file extention. Here you can rename your file(you can do this latter and it won't cause a problem). (OPTIONAL) Right below that box you should see the output path. On the TOP RIGHT of the Bat_To_Exe_Converter.exe theirs a Browse.
WINDOWS XP TASKBAR FOR WINDOWS 7 ARCHIVE
Bat_To_Exe_Converter.exe (you can run it while its still in the archive if you like)Ĥ. :PICTURES ECHO "BACKUP MY PICUTRES?" PAUSE XCOPY "C:\USERS\DALE\MY PICTURES\*.*" /D/R/S/E/V/Y "D:\USERS\DALE\MY PICTURES\*.*" goto MENU :MUSIC ECHO "BACKUP MY MUSIC?" PAUSE XCOPY "C:\USERS\DALE\MY MUSIC\*.*" /D/R/S/E/V/Y D:\USERS\DALE\MY MUSIC\*.*" goto MENU :DOCUMENTS ECHO "BACKUP MY DOCUMENTS?" PAUSE XCOPY "C:\USERS\DALE\MY DOCUMENTS\*.*" /D/R/S/E/V/Y "D:\USERS\DALE\MY DOCUMENTS\*.*" goto MENU CANCEL choice /c 1234 /M "Choose Menu Item to Run:" IF ERRORLEVEL 4 GOTO END IF ERRORLEVEL 3 GOTO DOCUMENTS IF ERRORLEVEL 2 GOTO MUSIC IF ERRORLEVEL 1 GOTO PICTURES GOTO END That is what the ":MENU" is at the top of the batch OFF :MENU CLS ECHO Choose menu item to run: ECHO 1. Pressing any of the others 1, 2 or 3 will run the command and take you back to the menu. You MUST tell it how many and what numbers you want for the menu. Just look at the help info after you get your text file made for help. CANCEL takes you to the first item under the command area. Note that the menu can be numbered to show the user what number to press to get the menu item to run, but the ERRORLEVEL NUMBERS should be in decending order in the commands below the menu. Here is a sample batch file for the "choice" commands. NOTE that you should have a folder called C:\temp in existence before you do this command. Note that the "/?" is what echos the messages to the screen, but " > c:\temp\choicehelp.txt" send the screen output to a file in c:\temp called choicehelp.txt. If you want to save the text for this to a text file you can run this: "choice /? > c:\temp\choicehelp.txt". It will "echo" the the help info to your screen.
WINDOWS XP TASKBAR FOR WINDOWS 7 HOW TO
and for you old batch file guys, Windows 7 also allows the old DOS batchfile command "choice" works for this batch file and all you have to do to find out how to run "choice" is to open a command prompt and type in "choice /?" and press enter. You can also change the Icon or click the General tab and change the name of the shortcut if you wish.īrian Borg's method works and works well in Windows 7.