Question : Start Batch Located on a Network Drive

I want to manually start a .bat from a network share, but then in the final line start a program on local c:\program files\.......

The cmd window is showing me that it is still using the share drive when it tries to find the executable.  How do I make it switch?
Code Snippet:
1:
2:
3:
4:
regedit /s Mail_Merge_Pointer-PROD.reg
cd c:\Program Files\c360\WordMailMerge Client for MS CRM 3"
Start WordMailMergeDataProvider.exe
end
Open in New Window Select All

Answer : Start Batch Located on a Network Drive

1. You can use cd /d to change the drive aswell as the change of dir if you wish.
2. When you use "" with a path for START command it treats it as the window title so you have to do:

START "" "C:\program files\....."
or
START "Something to show in title" "c:\program files\...."

etc.

hth

Steve
Random Solutions  
 
programming4us programming4us