Computing.Net > Forums > Windows 2000 > Bat File Help with Spaces in Path

Bat File Help with Spaces in Path

Reply to Message Icon

Original Message
Name: taraw3
Date: January 2, 2004 at 10:22:40 Pacific
Subject: Bat File Help with Spaces in Path
OS: Windows 2000 Professional
CPU/Ram: 1.8 1.0
Comment:

I need some help with writing a bat file. Is there any way to have a space in a path? Like \\meridensnap1\isdriver$\Deploy\Programs\Microsoft\Office 2000 Professional\setup.exe ? I know that I could add underscores to the folder names but I didn't know if there was another way to have it read spaces in the Bat file so that the folder names don't have to be changed to Office_200_Professional. You know what I mean? Please help me if you have any ideas. I have tried searching but having had any luck. Thanks! - Tara :)



Report Offensive Message For Removal


Response Number 1
Name: Deputy DooDah
Date: January 2, 2004 at 10:40:17 Pacific
Reply: (edit)

All you have to do is place it in parentheses like this:

C:\"Program Files"\Program


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Bat File Help with Spaces in Path

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge