Hi,
Anyone know a "cross-os" (i.e. will work for XP, Vista, 7, and 8) command-line command or .bat script to recursively check all folders for 'thumbs.db' and delete them all at once?
Thanks in advance!
-James A.
Ok, to cut to the chase I accidentally changed the default program to open .bat files to note pad. How would I change it back so it would execute the command? I googled it, nothing that helped was found. I tried deleting the User Choice and .bat in the registry. Still didn't work. Any .bat files...
I know this should probably go in the networking subforum but it's kinda deserted and I need an answer fast.
I have a 2012 R2 server (alone) and a Win 7 station. My login script is very simple, it's only a few net use commands (net use :G /delete - net use :G \\Server\Folder). But right now...
2012 r2
access issues
batchfile
cmd
file sharing
login
net
network
network drive
permissions
script execution
scripting
server interference
system error
troubleshooting
user account
windows 7
windows server
Hello, I am a QA engineer and my use case of the problem is inability to pass a build validation test: I connect to a Windows 8.1 through SSH connection and start a batch file that automates the installation of the software on Windows 8.1. virtual machine. The thing is: during the installation...
Please Help! I have a batch file that performs the following tasks:
1) renames a counter field
2) creates two variables that will be used later to rename two separate files
3) Opens SQL*Plus and starts an Oracle Script which starts two separate stored procedures
4) Moves and renames the...
Hi,
I have a big bunch of audio files, and I'd like to list them out in cell format with the lengths in seconds listed out next to them. I have a simple batch file that I found online that lists out filenames in wordpad. Is there something similar that would list out the file names with the...
My colleges' computers reset themselves every night, so we are allowed to install programs and change files & settings at will, because the changes revert on shutdown. I'm trying to create a batch file I can run to copy all the files I use & install the programs I use, I haven't gotten to the...
Hello. I'm using Win7 and 7.1 audio device. My headphones have 7.1/2.1 state button. And I wanted to make some shortcut or bat command file to quickly change configuration of my audio device from 7.1 to 2.1 and back again, but cant go further than "Choose default audio device" dialog window. I...
I have a bat file with the following:
echo " Starting Avira services"
echo\
net start "Avira Service Host"
I am executing this bat file in a user account, not an admin account.
I tried executing the bat file two ways:
(1) Right click on bat file & "run as administrator"
(2) Create...
I made these codes to backup files :
set p=C:\Users\
for/f %%a in('dir C:\Users\ /b') do (
if not"%%a"=="Public", (
set fileDest=C:\Backup-%%a_%date:~7,2%.%date:~4,2%.%date:~10,4%
If Not Exist"%fileDest%" mkdir "%fileDest%"set"fullPath=%p%%%a%"
xcopy "%fullPath%"%fileDest%/e /h /y /k
rem call...
I was messing with batch files and accidentally clicked one that I shouldn't have made.
Here are it's contents:
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del...
autoexec
batchfile
boot.ini
command line
configuration files
data recovery
error handling
file deletion
file management
file restoration
file security
ntldr
recovery
system files
system restore
troubleshooting
webroot
windows
windows error
windows tools
Hi!
I try to make an script for some video recording using ffmpeg.
I have an Microsoft webcam model LifeCam HD-3000.
This camera is show in control panel like this: Microsoft® LifeCam HD-3000.
When i list devices with ffmpeg a got some strange character because of registered trademark sign.
I...
I have a batch file I periodically run to sync my calendar from my desktop PC to my laptop. I last ran it several weeks ago. Went to run it the other day and it hangs on the tasklist command. The following checks to see if the calendar program is running on the laptop, if it is it uses...
I'm new to batch files and I know a few basic commands but I want to go into the more in-depth commands, such as runnin files with different attrbutes etc. There is another I want to use by i'm not sure if it's possible. So:
Is it possible to run a .exe (executable) file in a custom resolution...
I just can't figure this out: When I import/merge a .reg file (v5 format) manually by right-clicking the file in Explorer, it works perfectly. But if I try to import the very same .reg file in a batch file, it doesn't do anything!
The .reg file is only changing keys under HKEY_USERS. Here's a...
Hello.
This is my first time posting here so I am sorry if I am not posting in the correct spot.
I am trying to write a batch file. I have a folder with 333 Hotfix Msu Updates in it. Currently I have a command that will check the folder in a loop and update every computer with those hotfixes...
Im try to run an older version of Photoshop (I have the license to this one) but explore is locking me out. I have run similar bats for playing older cd based games - this is my first time trying it as an only harddrive based file. I just want explorer to go away when I start the program and...
automation
batchfile
compatibility
computer
disk management
error handling
execution
explorer
feedback
file explorer
file management
licensing
old software
photoshop
programming
scripting
software
taskkill
user guide
windows 7
Hello guys!
I'm wondering about a script I made after the installation of my Windows 7 x64 ISO is done. The script (bat) contains this:
How should I implant this script after the Win7 installation is done. Tried with SetupComplete (see spolier):
Problem is, I cant use GPO either...
automation
batchfile
cleanup
configuration
error handling
file attributes
file management
hidden files
installation
maintenance
media player
program files
scripting
setupcomplete
start menu
temp files
user account
user data
windows 7
windows tools
After a lot of hours of Google search I think that really need your help, because I just learn Batch. I make commands for a .bat file similar .cmd, an improved personal assistent with simplier command of human language and one of his functions would be a websearch on Wikipedia. But now... I've...