PC Review


Reply
Thread Tools Rate Thread

Command Prompt lists Directories and files in 8.3 format

 
 
=?Utf-8?B?Z2dlbm92?=
Guest
Posts: n/a
 
      24th Oct 2007
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.
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      24th Oct 2007

"ggenov" <(E-Mail Removed)> wrote in message
news:AC9C35D9-6FE0-4F16-BB29-(E-Mail Removed)...
> 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.


 
Reply With Quote
 
=?Utf-8?B?Z2dlbm92?=
Guest
Posts: n/a
 
      24th Oct 2007
It states The Directory name is invalid

"Pegasus (MVP)" wrote:

>
> "ggenov" <(E-Mail Removed)> wrote in message
> news:AC9C35D9-6FE0-4F16-BB29-(E-Mail Removed)...
> > 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.
>
>
>

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      24th Oct 2007
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.

"ggenov" <(E-Mail Removed)> wrote in message
news:71193EB1-7C11-44F1-B9B5-(E-Mail Removed)...
> It states The Directory name is invalid
>
> "Pegasus (MVP)" wrote:
>
>>
>> "ggenov" <(E-Mail Removed)> wrote in message
>> news:AC9C35D9-6FE0-4F16-BB29-(E-Mail Removed)...
>> > 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.
>>
>>
>>



 
Reply With Quote
 
HeyBub
Guest
Posts: n/a
 
      24th Oct 2007
ggenov wrote:
> 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.


 
Reply With Quote
 
Poprivet
Guest
Posts: n/a
 
      25th Oct 2007
HeyBub wrote:
> ggenov wrote:
>> 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.


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.




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need freeware to print lists of directories and files from a hard drive Anonymous Freeware 12 21st Jan 2006 03:19 AM
command prompt to format C drive ? don ward Computer Hardware 3 1st Aug 2005 04:47 PM
Moving or Deleting Directories with Command Prompt lforbes Microsoft Windows 2000 5 14th Jan 2005 02:34 AM
Is it possible to set date format from command prompt? Sean Microsoft Windows 2000 CMD Promt 2 15th Jul 2004 08:54 PM
Converting files/directories in 8.3 format Stephen Microsoft Dot NET Framework 0 17th Mar 2004 03:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 PM.