Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
FIND Length of DOS File name?
Name: BillRich Date: June 10, 2009 at 11:56:23 Pacific OS: Windows XP Subcategory: C/C++
Comment:
FIND Length of DOS File name with a batch file? A C program?
Name: ghostdog Date: June 10, 2009 at 18:58:45 Pacific
Reply:
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
0
Response Number 2
Name: Mechanix2Go Date: June 10, 2009 at 19:09:06 Pacific
Reply:
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
0
Response Number 3
Name: BillRich Date: June 10, 2009 at 20:16:00 Pacific
Reply:
"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
0
Response Number 4
Name: BillRich Date: June 10, 2009 at 20:20:13 Pacific
Reply:
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?
0
Response Number 5
Name: ghostdog Date: June 10, 2009 at 20:50:28 Pacific
Reply:
>>>I could not get the vbs to run at Hope. Can you show the output on the Hope Board?
Summary: I'm running FreeBSD 3.4-RELEASE, GNU 2.72 C/C++ compiler. I want to know what function returns the length of a file. I could read each byte until I reach the end, but there's got to be a function. I...
Summary: sir, in C i want to draw image in screen using graphics.to draw this first find length and width of image .and then putpixel command to put (x,y) position.i think like this.so HOW FIND LENGTH OF IMA...
Summary: Hi there, may I borrow your brains please? I run a radio station using winamp, wacommand, gawk, batch files and task scheduler. Mainly from batch files. Anyways could I please have help, I just need t...