I made a batch file to change the DNS entries when user logon the computer, the battch file is running fine but it does not work under user that dont have Administrator rights to the machine. ...
With group policy on win2003 AD, I need a batch file to copy files with
a user logon script. I need to copy the *same* file to two places when the user logs on to the PC
The \\se...
I have a batch file to extract zip file using 7-zip. The command is follows:
U:\D-Database\0-script\7z e *.zip
7z.exe and *.zip file exist in 0-script folder. U:\ is my mapped drive. If I...
Hi
I would like a .bat or .cmd script that do :
a) date/t >> hostname.txt
b) sc queryex >> hostname.txt
c) echo ========== >> hostname.txt
d) diskpart/s scriptname >> hostname.txt
...
I have been making a batch file to copy 2 files from a CD source to the local disk. Then the batch file is supposed to run a script that will install software on the machine. I have attached t...
My company is moving to a hosted web filtering solution and using a proxy server to direct the users to the internet. I can push the proxy settings with the standard gpo adm to set the proxy ...
This used to work, but something has changed (SP3?) and now I can't R-click on a .bat file and choose EDIT. I get "Access is Denied." i have to change it to a .txt file for editing.
I loo...
I need a batch file to run during an installer program (ClickTeam Install Creator) that will do the following:
1. Check if Word and/or Outlook is running on the local machine
A. IF Wor...
I have a file containing a list of folder paths, one path per line
File contains duplicate paths
I want to read the file and output until a new file so there is only one instance of each...
I'm installing Apache on Server 2003, but I have found that I need to have the Apache service running as the administrator for some of my web services to work properly. I'm automating my inst...
I currently have a batch file which gets the date and subtracts one day for file creation and directory creation but ran into the problem with the 1st day of month (1 - 1 = 0 of course) and it...
Hi,
I'm using GnuPG Command Line for Windows to automate the encrypting and decrypting of data. I have imported our public and private keys. However, to decrypt data sent to us, encrypted b...
I've tried a variety of methods for this and have had ZERO success....Have run out of ideas...
Here's devil and the details...
1) PC boots up and gets DHCP address
2) Need a batch or CMD ...
There is a command window flickering when I run this code. When I only run Robocopy, no window is showing??? It seems like it is when I run as another user that the window appers. How do I get...
I have found this code which will go off and list servers and how much disk space they have remaining, is there a way to only show servers where the disk space is a user defined % less than th...
Hi,
I am new to windows command line scripting, have used unix shells before. I find it very difficult to run even simple scripts like zip,ftp etc on windows. I want to set up some basic ta...
Hello,
I am trying to delete a bunch of directories from the command line in Windows. I am getting syntax not correct error. Al of the folders I want to delete begin with IMG.
The com...
I want to search files in dos by age or last modified time .I want it in a form of a script and not using windows search option in the start menu...For example I want to find all the files tha...
I am trying to use a batch script to rename a file to have date and time. So far I am able to add the date but cannot figure out how to get the time also. Below is what I have so far that work...
i have a login script called login.bat that is in the sysvol/<domiamo>/scripts folder
when a client logs in the cmd windows quicky runs and goes away but it does not do anything. the conten...
For example
The command line dir>mydir.txt works fine but if i put exactly the same line in a batch file (because I want to use variables like %1) it will work but display a strange output: ...
Here's a good one. I was trying to create a little batch file to copy all of a users pertinent data (My Docs, email, address book) to the XP CD Burning location. When I do this, it works gre...
I am deploying office 2007 via a startup script using the script in script # 2. The problem is it will not detect whether office is installed on a 64 bit machine it just goes ahead and trys t...
VBS or BAT to update the local registry on domain pc run by poweruser.
I am trying to create a bat or vbs script to that a designated poweruser can run on a Domain Users machine to edit the...
I have different printers installed on different machines, all with the /ga command. Is there a way to delete them with the rundll32 command without specifying the server or printer name?