2
votes
2answers
175 views

How Can I Create Multiple Files of a single file in multiple Directories?

Hello I am trying to create multiple copies of a single file in multiple directories? for example I have 6 folders with a single file in each folder named lp.html, How can I run a batch to create 100 ...
0
votes
1answer
161 views

Clearing temp files - Batch file pattern matching for *.tmp also includes *.tmpll

A file match for *.tmp also returns various *.tmpll files, is there anyway to restrict it to *.tmp files only? dir C:\*.tmp /s Also lists a load of *.tmpll files as well. Reason for doing this is ...
1
vote
1answer
670 views

What is the function in Windows similar to Inode in Linux?

Is there any commands which is same as the function inode in Linux. Any info will be helpful.
0
votes
1answer
142 views

UDP in DOS and Windows

I have two computers, one with Windows and another with FreeDOS. I want to generate UDP packets on the Windows PC and receive and view the contents of the package on a computer with FreeDOS.
0
votes
2answers
147 views

how to delete all files that begin with 'testcase-' on a windows server?

On a windows server, using a DOS command, how can I delete files in the current directoy that have the pattern like: testcase-234.html testcase-2322.html testcase-12.html i.e. files that begin ...
1
vote
2answers
2k views

If Service Exists Condition

How would you check is a service exists and if so do some operation?
0
votes
2answers
56 views

Print to Local Windows Network Share When Network is Down

I've got an application that sends print jobs to a local print share via a DOS copy: copy fileToPrint \\myLocalComputerName\sharename When the network is down it throws an error. However the share ...
1
vote
1answer
160 views

How do I change the prompt of Windows commandline permanently?

I use Prompt command to temporarily change the Windows command prompt's inline prefix. So instead of current directory, I choose it to display something like current time and the $ sign. But when I ...
1
vote
3answers
1k views

Is it possible to get Samba automatically convert linebreaks in files from dos to unix?

I have a shared over samba directory which i access from my windows development box. Problem is that when i create and edit files they are saved with dos linebreaks. Is there any way to configure ...
1
vote
4answers
515 views

How long have “find” and “findstr” been in the windows CLI?

(I know this is a slightly silly question, but...) I've recently been made aware of "find" and "findstr", despite having been doing at least light admin on Windows XP since it came out. I was ...
0
votes
7answers
4k views

Copying large file to removable media

Using WindowsXP-Pro, I'm trying to copy a largish file (~28 MB) on to an SD Card. The copy gets almost completed, when it fails and returns with this error: Cannot copy <filename> file: ...