Command Prompt lists Directories and files in 8.3 format

G

Guest

When I go to command prompt using cmd I get all the directories and file
names in 8.3 format. I need them to be in their long file name but can't find
how to do get them so.
I have a log-on script which executes some batch file which is found in a
specific path. Since this log-on script is common for all users on the
domain and some computers list in 8.3 format and some in long format I am
having trouble when this is executed.
 
P

Pegasus \(MVP\)

ggenov said:
When I go to command prompt using cmd I get all the directories and file
names in 8.3 format. I need them to be in their long file name but can't
find
how to do get them so.
I have a log-on script which executes some batch file which is found in a
specific path. Since this log-on script is common for all users on the
domain and some computers list in 8.3 format and some in long format I am
having trouble when this is executed.

Try this little test:
- Click Start / Run / cmd {OK}
- Type this command:
cd /d c:\program*{Enter}
- Report the prompt that you see.
 
G

Guest

It states The Directory name is invalid

Pegasus (MVP) said:
Try this little test:
- Click Start / Run / cmd {OK}
- Type this command:
cd /d c:\program*{Enter}
- Report the prompt that you see.
 
P

Pegasus \(MVP\)

Fine. Do this instead:
- Click Start / Run / cmd {OK}
- Type these commands:
dir c:\ > c:\test.txt {Enter}
notepad c:\test.txt {Enter}
- Copy what you see and paste it into your reply.
 
H

HeyBub

ggenov said:
When I go to command prompt using cmd I get all the directories and
file names in 8.3 format. I need them to be in their long file name
but can't find how to do get them so.
I have a log-on script which executes some batch file which is found
in a specific path. Since this log-on script is common for all users
on the domain and some computers list in 8.3 format and some in long
format I am having trouble when this is executed.

Check the "fsutil" program.
 
P

Poprivet

HeyBub said:
Check the "fsutil" program.

How will that help? I don't see the connection.

It sounds more like they have FAT-32 drives instead of NTFS, or an
environment variable forcing the 8-3 format.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top