Tech Support Guy banner
Status
Not open for further replies.
1 - 2 of 2 Posts

· Registered
Joined
·
160 Posts
Discussion Starter · #1 ·

· Registered
Joined
·
8,064 Posts
the reason why it wouldn't work is more along the lines that it is using dos-based names for folders and files, which Win2k and XP do not utilise. They aren't limited to using the 8.3 format.

You should be able to do it using the full path of the program

@ECHO OFF
Start %SystemRoot%\System32\calc.exe
Start %SystemRoot%\system32\notepad.exe
exit

saved as test.bat on my desktop will create a file that will open Notepad and Calculator when double-clicked

simply change the %systemroot and other path details to the path you want.

Easiest way to find the path is to right-click the icon you normally use to start the program and select Properties. Copy the target path.
 
1 - 2 of 2 Posts
Status
Not open for further replies.
Top