Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

cmd.exe and spaces in filenames


  • Please log in to reply
6 replies to this topic

#1
jassenna

jassenna

    Newbie

  • Member
  • 15 posts
  • OS:98
  • Country: Country Flag
This is a newbie question, for which I could not find an
answer in the Win7 help:
How to access directories/files with spaces in their names
from Windows 7 cmd.exe command line? I tried with the space
and with some html space markers, as %20 and &#32. None
worked.
FAT had an 8.3 filename for use in such cases, but
NTFS does not.
O/S: Windows 7 Home, x86 version.


How to remove advertisement from MSFN

#2
-X-

-X-

    Member

  • Patrons
  • 2,406 posts
  • OS:XP Pro x86
  • Country: Country Flag

Donator

You enclose the path in quotation marks.

Download all Windows XP Post SP3 High-Priority Updates with a simple double click @ xdot.tk post-12166-0-42859000-1399044129.png ]
               If someone helps you fix a problem, please report back so they and others can benefit from the solution. Thanks!


#3
vinifera

vinifera

    <°)))><

  • Member
  • PipPipPipPipPip
  • 963 posts
  • OS:Windows 7 x86
  • Country: Country Flag
like cd "C:\Program Files"
If you want true Windows user experience
try Longhorn builds: 3718, 4029, 4066

#4
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,797 posts
  • OS:none specified
  • Country: Country Flag
Unless you have disabled/removed it, Win 7, including Win 7 x64, has the ability to utilize the 8.3 version of the file name or path as well. You just have to figure out what it is.

Cheers and Regards

Posted Image


#5
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,265 posts
  • OS:none specified
  • Country: Country Flag

You just have to figure out what it is.


... and all these years I thought that DIR /X was made for that ... :whistle:

jaclaz

#6
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,797 posts
  • OS:none specified
  • Country: Country Flag

... and all these years I thought that DIR /X was made for that ... :whistle:


Well, sure, if you want to "cheat" and do it the easy way. LOL Thanks for the reminder. :)

Cheers and Regards

Posted Image


#7
jassenna

jassenna

    Newbie

  • Member
  • 15 posts
  • OS:98
  • Country: Country Flag
Thank you all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN