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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Bat File Help with Spaces in Path

Reply to Message Icon

Name: taraw3
Date: January 2, 2004 at 10:22:40 Pacific
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 :)




Sponsored Link
Ads by Google

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

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

C:\"Program Files"\Program


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Bat File Help with Spaces in Path

Win2k spaces in path name/filename www.computing.net/answers/windows-2000/win2k-spaces-in-path-namefilename/40759.html

Remove IPX/SPX with bat file www.computing.net/answers/windows-2000/remove-ipxspx-with-bat-file/60319.html

Windows 2000 Spaces in Filenames www.computing.net/answers/windows-2000/windows-2000-spaces-in-filenames/17405.html