Summary: I wanted to write a batch file that would remove a directory from the path, but not delete it. Is there a way to do that, and if there is how do I do ...
Summary: Hi, I am trying to rename a complete directory of files to remove the first three characters. All the filenames have spaces throughout them and t...
Summary: Hello, I want to write a procedure to share a directory. Which are system functions or smth. to do this? Maybe there exist another ways to share a ...
Summary: hi, today i wrote for you a small example assembler program HOWTO read from floppy a directory without any OS function call, my program also suppor...
Summary: I need to count the number of files in a directory. I used the following DOS Prompts-- Go to respective folder-- Set Count=0 ....... Dir * If not Erro...
Summary: Does anyone know how I could this in VC++: Read a directory name and output the files names in it to another file, i.e. I need to look inside the dire...
Summary: My complete requirement is: To run a DOS based batch file passing a directory path as argument and it must respond all the folders in the root direc...
Summary: Hi , I am using the following command in my batch file to find no of batch files in a directory dir "a\b\c" | find /v /c "::" I am able to get the cou...
Summary: I have been using a batch file to delete .zip files in a directory that are older than 2 days old. It has been working very well. However, I would lik...
Summary: Just for kicks and giggles, and perhaps others: ===================================================== C:\>COPY /? Copies one or more files to another ...
Summary: Hello, I am kindly looking for a batch file that will do the following. 1. I have a list of 10 PC names in a text file (pcnames.txt) 2. I want to ping...
Summary: Is this what you want? RD C:\Path /S /Q RMDIR C:\Path /S /Q /S = Removes all directories and files in the specified directory in addition to the direc...
Summary: That's what the /s switch is on the rd command, it is the equivalent to deltree. rd /? Removes (deletes) a directory. RMDIR [/S] [/Q] [drive:]path ...
Summary: I have a batch script that can remove the top 6 lines of a txt file. @echo off setLocal EnableDelayedExpansion for /f "skip=6" %%A in (c:\batch\1.txt...
Summary: i have to create a search which will search through a telephone directory and return information (ie, phone number, name, etc.) does anyone have any...
Summary: hmmm, I use borland c++ builder but not c++ builderX, but you could try looking into the help system with the keywords RemoveDiretory or DeleteFile an...
Summary: edman thank you for your help on this, your 2nd batch file to rename the files will be helpful. The first one does not really apply to what I wanted. ...
Summary: Hello all, I find myself constantly creating usfull batch programs. The only problem is I am limited to what I know about dos. I have done about a 100...
Summary: I have a problem, I need an sql (for access) statement that will alway return the coming sunday's date from any day in the week including sunday, can ...
Summary: i want to remove the \nul string from this line "D:\Documents and Settings\fidodido\Desktop\New Folder3\asda\nul" i tried to use for /f "skip=1 toke...
Summary: Hello, This may be simple but I am not finding a simple solution. Here is the input: type decrypt.dat | find "username" output: username="user1" That ...
Summary: Thanks klint it seems windows or at least vista wont let you delete a directory if it has files in it. I think I found what I was looking for. I will ...
Summary: I have been working with this assignment for afew hours and I am having trouble getting it to work right..... I am fairly new at cmd. Help would get ...