Script files that are executed by the Windows command-line interpreter.

learn more… | top users | synonyms (8)

0
votes
1answer
6 views

How to append date to directory path in xcoopy

I do have a xcopy statement in bat file.. would you please help me to append today's date to one of directories in destination xcopy /S /E /I %sourceFolder% "C:\Shared\copy\%destinationFolder%" ...
0
votes
1answer
9 views

for command variable unexpected at this time

dxdiag /t output.txt FOR %%GeForce IN output.txt DO echo You have an NVIDIA GPU. FOR %%Radeon IN output.txt DO echo You have an AMD GPU. The above is a snippet of a batch file I created. When I run ...
0
votes
0answers
18 views

batch file to extract a string from datafile at specyfic bytes

I have datafiles approx.20Mb big with random filenames all starting with "AA" that have a specific string at a fixed position (starting at 2086'th byte or maybe at 37'th byte of the 3'rd line of the ...
0
votes
0answers
10 views

I am trying to write a batch that pulls variables from 2 text files

I am trying to write a batch that pulls variables from 2 text files. So far I can only get one variable working from one text file at a time. I need to set variables for a remote PC name, and the ...
0
votes
1answer
21 views

having trouoble executing a “cmd” or batch file from c#

i need to run a batch file (or a cmd) from c# . my code is this simple: Process.Start(@"C:\b.bat"); Process.Start(@"cmd.exe"); i have also tried Executing Batch File in C# , and many other sites ...
0
votes
2answers
27 views

Converting simple shell script to batch assistance [closed]

Ok, I have a really simple shell script I wrote for a friend. Turns out he is on a PC and I don't know how to write batch scripts. Can anyone help me perform the following functionality in a .bat? ...
2
votes
0answers
16 views

How to only copy *complete* audio files with batch

We currently have a script that we run on our T1 loggers to convert the recordings of our agents calls from au to mp3. After it converts it pushes it to a network share on a server ...
-1
votes
0answers
18 views

External HDD - copy file and create it's hidden copy? [closed]

I am using 1TB external hard drive until next week, I am using it for projects and other important stuff, in general I have about 200GB of important data there, I don't have any place to store it, ...
0
votes
0answers
12 views

How to apply a batch file to a specific folder [migrated]

After some research to figure out how to remove the parenthesis when renaming multiple files i found this batch: cd C:\folder setlocal enabledelayedexpansion for %%a in (abc_*.jpeg) do ( set f=%%a ...
0
votes
1answer
12 views

How to bulk add folder name to file name?

I have a folder struktur like this: /1/1/master.jpg /1/2/master.jpg /1/3/master.jpg /2/1/master.jpg /2/2/master.jpg /2/3/master.jpg ... I need to import all images to a website, but the file name ...
0
votes
1answer
21 views

Error with If-Else statement combine with Math in .bat file

It's supose to be simples, but i can't get it working ! Maybe someone could help... I just need a program that check if '07503.csv' file exists, and than '07504.csv', '07505.csv'...until '07552.csv'. ...
0
votes
1answer
46 views

How to get my .bat file to run a java command

I want to run a simple batch file that navigates to a folder location and runs a java command. What I have now won't run the command. @echo on set /p DIR="C:\Application\dir_to_run_from" dir %DIR% ...
0
votes
1answer
18 views

Batch file creating folders in all folders of current directory

I am trying to create a simple batch file that runs in some directory and goes to "foldername data My documents" and creates a folder named "outlook archive That's what I have for now... but I keep ...
0
votes
0answers
11 views

Batch: Output file names with relative paths to files and additional signs

I have a folder structure like this: c:/foo/bar1/a002345.vi c:/foo/bar1/somefilename.vi c:/foo/bar2/b005632.vi ... c:/foo/bar26/z002345.vi Now I want to execute a batch file in the folder c:/foo/ ...
0
votes
0answers
12 views

batch script with pause while applying auto login

I have created a batch to run an executable (i.e start /d "\\Setup.exe), which works perfectly. Now I need to implement a pause while the splash page of this application generates the log-on screen. I ...

1 2 3 4 5 679
15 30 50 per page