Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

masonium

Changing Directories in DOS

This topic is 6113 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to boot my computer in DOS so that I can run a program without interference from other threads. (I''m not completely sure if that will actually happen, but that''s not the point) My problem is that I can''t use the chdir command when the folder name has a space in it, such as C:\My Documents. Obviously, I could just copy the program to the C:\ folder, but I want to know how to change the directory to C:\My Documents or any directory with a space or apostrophe for that matter. Just in case I never actually asked my question, how do you change the current directory in DOS to a folder with a space or apostrophe in it? No, HTML is not an OO language.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Either put quotes around the directory (like "C:\My Documents".

Share this post


Link to post
Share on other sites
see if you can find the 1995 package of SNIPPETS.ZIP

if you have access use the IBM Bulletin Board (dialup unless they updated it since I last used it in 1996). You will need to register for it most likely. If not do a search on the net for it.

It tells you how to access the LFN of a Win32 System using a standard Dos 16 program on a Fat16/Fat32 hard drive. It also has the complete code.

Otherwise use c:\progra~1 or c:\progra~2 or do a listing of the hard drive folder. dirnext I think it was.



Beer - the love catalyst
good ol'' homepage

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!