Category "batch-file"

Creating a batch file that opens google chrome and puts input into the search box?

So I am just playing with batch files and was curious if it was possible to create a batch file that opens the google browser and without typing into the search

Windows batch script - requesting UAC admin rights in a log-friendly way

I'm requesting admin with the following in a batch script: : BatchGotAdmin REM --> Check for permissions >nul 2>&1 "%SYSTEMROOT%\system32\cacls.e

Open text file via batch?

I am trying to access a text file using batch when a user enters a certain command. I have tried doing start E:\Programming\Important\Folder\Textfile Cls And

Fast(er) way to get folder size with batch script

PLEASE SEE BELOW THE ORIGINAL QUESTION FOR SOME TEST COMPARISONS OF DIFFERENT WAYS: So I tried 2 ways so far: 1.Iterate through directory using the code from

How to kill a Robocopy batch script via Taskkill?

I started a batch script that activates Robocopy to copy some really big folder from some source to a destination. When I run the script I can see the cmd wi

Batch script access denied even with admin privileges

I have a batch script in Windows7 to update the hosts file that fails. I am logged as a user with administrative rights. Even if I run the script with the "Run

Create WinRAR SFX with admin rights by command line

I need to create WinRAR SFX archive that should work with admin permissions on Windows 7. I can make it with WinRAR GUI but I need to make it with WinRAR comman

Change Windows command prompt to show only current folder

Instead of showing C:\Users\test_user\Documents\Folder\etc show \etc or if possible limit it to a certain number \Document\Folder\etc

Batch file running under Task Scheduler continues running after batch file completes

This is sort of a follow-up to my question earlier (link). To test things out I made this simple batch file to ensure the Task Scheduler was properly executing

How to "comment-out" (add comment) in a batch/cmd?

I have a batch file that runs several python scripts that do table modifications. I want to have users comment out the 1-2 python scripts that they don't wan

use batch scripting and 7-zip to compress files

I have a folder composed of files : "1.txt" "2.txt" I need to compress them in a zip thanks to 7-zip via a batch file. Everything is working well with this sc

use batch scripting and 7-zip to compress files

I have a folder composed of files : "1.txt" "2.txt" I need to compress them in a zip thanks to 7-zip via a batch file. Everything is working well with this sc

The System cannot find the file specified error while deleting folder

Hi can some one suggest me how to delete below folder(abc) using a batch file? %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\abc

Windows Batch: Split String to individual characters to variables

in Windows Batch, if I had a variable (length can change) that was, for example: "hello world!" is it possible to "split" the variable so each character is its

Transfer files from one server to another using batch script

I have certain files in a folder on my local machine (Windows 8) and I want to transfer them to a remote server (Windows server 2012 R2) using a batch script. S

read csv file through windows batch file and create txt file

I have an excel file with 5 values each in a line. now, i want to read the .csv file through batch file and create text file with the contents in the file. Exam

Using Windows Batch Files to split large "Wrapped" files

I need a method to split files into multiple (or even half) based on KB not on number of lines. I am a Senior EDI Analyst and wrapped data tends to show up as

Batch file to move files by date modified

I have written a batch file, which creates empty folders for each date. My next task is to create another batch file, which moves each file in a directory, into

Save and Load .bat game

I'm making a text game written in bat, and the game has been done, (or more, a good part of it, such as the commands, and at the stage where you can play it); h

Change Directory command in batch file is not working

I need to create a batch file to do a few things for a class I'm in. Everything needed to run works but I cannot find a simple answer as to why change directory