FIND Length of DOS File name?

June 10, 2009 at 11:56:23
Specs: Windows XP
FIND Length of DOS File name with a batch file? A C program?

See More: FIND Length of DOS File name?

Report •


#1
June 10, 2009 at 18:58:45
are you the same person here?
there is no need to code in C for such a task. you can do it with batch (but its a hassle). easier way ->> use a better tool or programming language, eg vbscript or Python (or Perl etc) and i have shown how to do it in vbscript in the link above

Report •

#2
June 10, 2009 at 19:09:06
I'm wondering what a DOS file name is. Is that the trashed version of an LFN that you get in DOS?

Like good 'ol c:\progra~1

or what?


=====================================
If at first you don't succeed, you're about average.

M2


Report •

#3
June 10, 2009 at 20:16:00
"I'm wondering what a DOS file name is. Is that the trashed version of an LFN that you get in DOS?

Like good 'ol c:\progra~1 or what?

The XP Pro OS has cmd.exe ( command interpreter ). A Dos File name is not correct. The file names are part of XP and the command page opened with cmd.exe. The commands and file names resemble the old Dos files.

There are generic file programs that can find the length of a file name regardless of the OS or command interpreter. Thanks for your help


Report •

Related Solutions

#4
June 10, 2009 at 20:20:13
Ghost wrote:
Are you the same person here?
there is no need to code in C for such a task. you can do it with batch (but its a hassle). easier way ->> use a better tool or programming language, eg vbscript or Python (or Perl etc) and I have shown how to do it in vbscript in the link above."

I could not get the vbs to run at Hope. Can you show the output on the Hope Board?


Report •

#5
June 10, 2009 at 20:50:28
>>>I could not get the vbs to run at Hope. Can you show the output on the Hope Board?

already did. it should work.


Report •


Ask Question