Hi I made this batch code, to move all subfolders from "C:\1" to a new created folder inside folder "C:\2"
@echo off
set "sourceDir=C:\1"
set "destinationDir=C:\2"
set "newFolderName=NewSubfolder"
mkdir "%destinationDir%\%newFolderName%" 2nul
for /D %%I in ("%sourceDir%\*") do (...
This method works on Windows 11,10, 8.1 & 7 as well.
All programs for this guide are free.
Download links
PsTools
PsTools - Windows Sysinternals
FePsTools
Front-end for PsTools | DaviTools
Nircmd (At the bottom of the page. Not the 64 bit one.)
NirCmd - Windows command line tool
Winrar...
I'm trying to create a text-based game, but I can't get passed the menu because either "set /p" isn't taking an input, or "if '%...'" isn't seeing it. This is what I'm doing to test menus, currently
:mmenu
echo Main Menu
echo Start
echo Quit
SET /P "a=Select "
if "a"=="Start" [removed:then...
Say i changed the location of a Folder, whose short cut was there on my desktop.Is there any way the shortcut is auto Updated?:devil_smile:
Yes..Window 7 Auto correct for Shortcut, it works for most, but for complex ones , specially in the case where my system was formatted (drive letters were...
At the moment I am using an xcopy command to copy all files with a certain extension to another folder. As the number of files in this folder increases I'd like to organise them into sub folders and have the directory structure mirrored. However I don't want the entire folder contents copied...
Hi,
I want to know how can i run a Batch File as administrator since the Run as Administrator Check box in Compatibility tab is gray (can't check)?
This is the Batch File:
@echo off
cd /d "C:\Program Files (x86)\Ubisoft\Far Cry 2\bin"
start /real time FarCry2.exe
So please Advice me how...
assoc
batch file
batchscripting
command line
configuration
file association
file extensions
file types
ftype
media player
mplayer
scripting
troubleshooting
user interface
video files
windows 10
windows 11
windows explorer
windows shell