CrazyEngineers Forum

******************************************
Welcome To CrazyEngineers (CE) – an online community of engineers from all over the world! With the younger CEan at 84 and the youngest at 16, CE boasts of professional engineers, students, professors, entrepreneurs, CEOs, geeks & nerds. We exchange innovative ideas, share knowledge, help each other and expand our worldwide network of engineers! You need not have a formal degree in engineering to be a part of CrazyEngineers! Need we say more?
Join CE! | Be a CE Ambassador! | Forgot password? | Sponsor CE | Contact Us
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Computer Science & IT Engineering
Reply

  #1 (permalink)
Old 10th December 2007, 06:44 PM
CE - Apprentice
 
vishalhak's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 17th October 2007
Posts: 25
Exclamation Help with DOS command

can any of you tell me how to perform any command on a directory or file that contains space in its name. eg: "cd ms office";where "ms office" is the name of the folder,the system returnts an error.
vishalhak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)
Old 10th December 2007, 09:00 PM
CE - Addict
 
mahul's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 14th November 2007
Location: kolkata
Posts: 275
Send a message via Yahoo to mahul
Default Re: help in dos!!!!!!!!!!!!!!

this is simple....just type the name of the command followed by the name of the file/directory in double quotes, e.g. cd "ms office". i have used this always in windows command prompt and this would work for dos too(though i didn't check this out). so try this and let me know.
__________________

An apple changed the world, it fell on Newton's head

My Blog
mahul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 10th December 2007, 10:04 PM
Good Administrator
 
The_Big_K's Avatar
 
I'm a Crazy Electrical Engineer
Join Date: 26th November 2005
Location: Terra-Firma
Posts: 4,996
Send a message via Yahoo to The_Big_K
Default Re: help in dos!!!!!!!!!!!!!!

I use a simpler method Let's say you want to switch to directory name "Hello World", type first few characters of the directory name and hit the tab key.

Note that this is just like what we have in bash. Those familiar with UNIX/SUN environment.

-The Big K-
The_Big_K is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)
Old 11th December 2007, 05:24 PM
CEan - Value Adder
 
kidakaka's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 18th October 2006
Location: Mumbai, Hyderabad
Posts: 465
Send a message via AIM to kidakaka Send a message via MSN to kidakaka Send a message via Yahoo to kidakaka Send a message via Skype™ to kidakaka
Default Re: Help with DOS command

This does not work in the older versions of DOS.

Vishal, heres what you do - type in the first six characters of the string as if the space was not there, then type in "~1" after that.

So if you wanted to say .. change your directory to "My Documents", then you would say c:/>cd mydocu~1 (enter)

That should work!
kidakaka is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)
Old 11th December 2007, 06:38 PM
CE - Apprentice
 
vishalhak's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 17th October 2007
Posts: 25
Default Re: Help with DOS command

thanks all of of you for your valuable sugesstions
vishalhak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 10:28 PM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.Ad Management by RedTyger