The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
Google UNIX.COM


Windows & DOS: Issues & Discussions Questions involving Unix to Windows (Desktop or Server) go here. Any Windows/DOS questions should go here as well.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
prob with spaces in reading a file Amardeep Shell Programming and Scripting 2 05-23-2006 08:54 AM
Reading file names from a file and executing the relative file from shell script anushilrai Shell Programming and Scripting 4 03-10-2006 02:25 AM
Displaying VERY long process names with ps -ef m223464 UNIX for Dummies Questions & Answers 8 02-07-2006 07:44 AM
mkisofs and long file names XP_2600 SUN Solaris 2 02-07-2006 06:26 AM
linux question, pardon, on long file names kymberm UNIX for Dummies Questions & Answers 2 09-11-2002 05:28 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-13-2002
Registered User
 

Join Date: Mar 2002
Location: Texas
Posts: 120
Dos window, long file names prob

At the dos command prompt, does anyone remember how to make it recognize long file names? ie, windows long file names for folders, my documents, if i'm at the :> prompt and want to change to that directory, how do i make it skip the space? I've tried cd "my document" cd my\documents cd 'my documents' etc. ANyone remember this?
Reply With Quote
Forum Sponsor
  #2  
Old 09-14-2002
bsdjunkie
Guest
 

Posts: n/a
Use the ~ key.

cd Progra~1 will goto Program Files

Reply With Quote
  #3  
Old 10-08-2002
Ralf's Avatar
Registered User
 

Join Date: Oct 2002
Posts: 34
It sounds like you are using a Command.com shell, Try using the cmd.com shell. (Start->Run->cmd)

(Or the other way around )
Reply With Quote
  #4  
Old 10-09-2002
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
use the /x switch with `dir`.

This will give you the short filename that you can `cd` to.
__________________
Not quite as cool as all the other Kids...
Reply With Quote
  #5  
Old 10-10-2002
Registered User
 

Join Date: Oct 2002
Location: Malaysia
Posts: 14
First, type dir
then look at the list of files and directories displayed on the screen.

Then only type what ever appear on the screen.
maybe cd progra~1

It will apeears,
C:\Program Files\
that's for Dos
__________________
LC Foo
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0