1
vote
1answer
55 views

Batch convert txt file encoding

I have about 700 files that were the results of a closed caption software process. I can open the files on my PC or Mac in a GUI, but when I open it on the server with nano, I get this: ...
0
votes
0answers
21 views

I need a dynamic script for changing Host IPs depending on computer name that I can shoot over the network

Does anyone know how to make a Batch/Script, that I can modify, for looking up the host computer name and build the IP and gateway off of it. we have a simple setup of computer name refers to ...
-1
votes
1answer
2k views

Shell files (*.sh) to batch file (*.bat) converter?

It's quiet tedious to convert shell scripts into batch files. Is there a way to automatically and easily perform .sh to .bat conversion or vice versa?
1
vote
2answers
2k views

How to create multiple folders and name them by reading lines from text file?

I have a plain text file named Export.txt. It contains a list of geographical places, preceeded by a 3 digit number with leading zeros. Example --START OF FILE-- 001 Aberdeen 002 Bellevue 003 Camas ...
0
votes
2answers
222 views

Batch file rename script swapping substrings in filename?

I have a group of files named like title_december_word1_word2.png and want to iterate through the directory and swap word1 and word2 within each file. i.e. go from button_december_state_pressed.png ...
0
votes
1answer
1k views

Move all files from multiple level sub folders to 2nd level subfolder

I'm looking for windows command or batch script to help me, i Spent 3h reading/ trying to find a solution i know its out there but my lack of scripting/programming isn't helping, hoping some can help ...
0
votes
1answer
56 views

How can I batch insert a certain .txt file into every subfolder?

I'm trying to figure out how to insert a licence.txt file into every subfolder, any ideas how to do this in windows command line?
1
vote
1answer
2k views

Unzip file from source to destination within user directory across multiple versions of windows

I have a source zip file which is located in a user's "My Documents" directory. It is guaranteed to always be there. I'm looking for a way to create a batch or script which will let me unzip that file ...
0
votes
1answer
2k views

Get USB key manufacturer serial number

I am looking for a batch command to retrieve an USB key manufacturer serial number. I need a command that works in both Windows XP and Windows Seven. This is for a hardware follow-up. I have a script ...
-2
votes
1answer
236 views

How do I make a batch file that looks exactly like a command prompt?

I want to make a batch file that, when run, looks and works exactly the same as a command prompt, except that I can do something with everything the user enters (e.g. logging it). How can I do this?
0
votes
3answers
729 views

Batch file to replace “.” with “-”

I need to preserve the file extensions and it needs to work through the subfolders. For example: "File.name.ext" should become "File-name.ext" I am a completely ignorant regarding shell script so ...
0
votes
1answer
76 views

Batch script for creating tasks?

Is there a way to create a batch script to add tasks to the Windows Task system? I need to setup 2-3 tasks per system but I want to be able to run a script to do it.
14
votes
11answers
54k views

Populating Array in DOS Batch Script

How can I setup an array variable in a DOS batch script? I would like to load it with a list of file names to process. I really would like to keep this as simple as possible. Thank you.
3
votes
4answers
1k views

Batch deletion of smaller files from group of files via unix command line

I have a large number (more than 400) of directories full of photos. What I want to do is to keep the larger sizes of these photos. Each directory has 31 to 66 files in it. Each directory has ...