Summary: Hoe can I get a list of files only that are in a specified directory. I do not want the names of the sub folders displayed. Now I am using dir /b i:...
Summary: Hi, I'm trying to make a file or variable that contains a semicolon separated list of files in a dir. for %%i in (*.jar) do call echo %%i; >> jarlis...
Summary: If you do a DIR /? you'll get: C:\ >dir /? Displays a list of files and subdirectories in a directory. DIR [drive:][path][filename] [/P] [/W] [/A[[:]a...
Summary: Weird or not, that's what happens. The FOR cmd does display the 8.3 format on the files, I don't remember of any switch to make it display LFN (actual...
Summary: If you want to use the DIR command and have only one file show up then you're going to have to know what name variations all the files can take. Or u...
Summary: I am using Dos 6.2 and I have forgotten and I cannot locate any information on listing the attributes of files so that I am able to tell which files a...
Summary: I'm reading variables in from a text file line by line using: FOR /F " tokens=1 " %%i in (DIRLIST.TXT) do DIR C:\%%i > %%i.TXT the purpose is to outpu...
Summary: Forget My above script, I revised that script because of the new info I found just after writing it. Now the BELOW script works exellent, check it out...
Summary: Here is a tip: ---------------- @Echo Off Rem Detect.bat batch file to detect the Rem presence of files in current dir Rem Sintax: Detect file_suff...
Summary: You don't mean to include the files on subdirectories from the source directory (c:\abc) on that moving process, do you? About that sorting, where you...
Summary: Displays a list of files and subdirectories in a directory. DIR [drive:][path][filename] [/P] [/W] [/A[[:]attributes]] [/O[[:]sortorder]] [/S] [/B] ...
Summary: Thanks Johns! I did a bit of reading and came up with: DIR C:\ /o:d /s >a:listlog.txt Which came up with a whole load of directories with the files ...
Summary: I am wanting to create a dir listing of one directory. However I do not want the drive or path to written into the text file. Here is what I use. c:...
Summary: There must be somewhere on the 'Net with a list of all the DOS commands and their syntax. Can someone direct me there? I know all the commands in the ...
Summary: Correct, read the ARAMDISK.TXT file in the Archne directory for a list of files to copy. I find that often, just having the temp file on the RAM Disk,...
Summary: How can I get a list of files that were created more than 2 days ago? We need this for a tidy up routine - I've looked at options for dir, find etc. b...
Summary: G'day, Have you tried deleting it in Windows Explorer?? That should work unless Windows is protecting it for some reason. If that doesn't work then t...
Summary: What is the command to print long filenames to a file from inside a batch file? In Win98 I used dir>list.txt and the long filenames were included aut...
Summary: Did you try the SYS command ? This install the system files on a disk ( floppy ,HD ). If at the C: prompt, you type D: or E: (dependind on how many H...
Summary: If you have any version of MS-DOS 6.xx you do not need anything else. Type UNDELETE at the prompt and a list of files that can be saved will app...
Summary: Any tips you may have to help me out with this would be greatly appreciated. I am trying to access a file on a drive formerly running WINNT 4.0 that ...
Summary: Why not give it a go?? Create a .bat file using copy con:filename.bat stick cls and dir in it, finish off with Ctrl+z then Enter. At the command pro...
Summary: Also, it will depend on the version of DOS. The ability to do a dir/s was added in DOS 5.0 or 6.x, so if your DOS is earlier, you'll have different is...