batch script

  1. R

    Windows 11 Semi-automatic Creation of Windows ISO

    This guide is to automate many manual and error-prone steps of "How to create a Windows 10 ISO image for clean, in-place upgrade and repair install" when is used to prepare Custom Windows 11 ISO with pre-installed software, no user accounts. This guide is only applicable to Windows 11 (both...
  2. C

    Windows 10 Windows batch scrip - Window does not close after script

    Hi Guys, I have a one to run by you. I have a simple Windows batch script I run in the morning that basically opens various programs I use for the day. Lazy doing this...yup LOL. Issue is the command prompt window that pops up never closes after the script is run. I have tried ending the...
  3. TomNXT

    Windows 11 batch script on logoff does not work

    Hello, so i added my batch script for auto turning off nanoleafs on pc shutdown via this tutorial Executing a batch script on Windows shutdown but it does not work, if you run the script alone, it works fine, but not on windows shutdown... any ideas? Its added in a shutdown folder and also...
  4. B

    Windows 8.1 How to make Batch Script run a command when it gets a response to ping...

    Ok so i want a batch file that will run in the background and ping a few servers, and then if it gets a response from any of these servers (If it is able to communicate with them), it executes a command. It will be running on a machine that in normal operation has no internet (WAN) access, (For...
  5. LOL

    Windows 10 Is there any way to run a batch script without showing up the command prompt window?

    I have a server and it don't have backup so I need to run my custom batch script to get files from sftp then archive it. But I need it to run like a schedules, but everytime the schedules start the batch files. I allway open up the command prompt window. Is anyway to hide that window? Like...
  6. onlinegill

    Windows 10 Random time delay between two batch commands

    Hello, I have a batch script and i would like to put random delay / wait time in minutes to run second command. example : run first command here random wait between 5 to 30 minutes run second command here Thank You
  7. P

    Windows 7 Searching tool to execute a prgm after certain time of incativity?

    I am searching a tool which let me define - a certain time of inactivity (e.g. 30 minutes) with no keypress or mouse movements and - another program (or batch script) (with parameters) which is automatically executed after this time of inactivity. Can soemone give me a recommendation for such...
  8. D

    Script to update/fresh permissions shared folder

    We are using Dropbox on a Windows Server 2016 DC. Dropbox is used to Sync the files between users in a remote location (due to connection speeds) and then also Syncs between the shared folders on the DC. Surprisingly it's working really well but I've come across a problem. When a folder (64 Zoo...
  9. S

    Windows 10 AutoOpen Task Manager Performance Tab

    I've been trying to make a batch or shortcut to autorun with system to open the Task Manager in the Performance Tab with no luck. Is there a way we can do this that I'm missing?
  10. P

    Windows 7 How to change "OpenWith" user preference settings from cmdline?

    As you know some file may be opened by multiple installed programs. Assume I have 3 picture viewers installed for viewing *.jpg files. Currently the default program for opening these *.jpg is "aaa.exe" In the future I want to let the *.jpg open (by double clicking in Windows Explorer) by a...
  11. P

    Windows 7 How to put command with parms directly in Registry RunOnce?

    Assume I want to perform a command line command with parameters one time at next boot (under 64bit Win 7). Therefore I want to create this command directly in the appropriate Registy key and not indirectly by putting it into *.bat batch script and and call this from RunOnce For simplicity...
  12. James Anderson Jr

    Windows 8 Delete all thumbs.db from image folder(s)

    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.
  13. DeMajrea

    Windows 7 Need review of .bat for running old software on Win7 (64)

    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...
  14. O

    Windows 7 Dont run script IF

    I have an issue, i have just started a Windows 7 Migration Project and i was originally brought in to do GPO, now i have bene asked to do something else and i am a little stuck. Basically we still run Windows XP on most of our machines but will start migrating over to 7 soon. We run a batch...
  15. A

    Windows 7 basic scripting, usage piping, output redirections and variable in one example.

    Hi, I mostly use another OS, and need to rewrite following script into one which works in windows. OK, here's the command: curl -s -x 127.0.0.1:8888 -b ./cookies.txt -X GET Link Removed 2>&1 | tr -d '[]' | sed "s/,/\n/g" | head -n 1 | sed "s/.\(.*\)./\1/" here's what it does: loads content of...
  16. C

    Windows 7 Deleting a specific file when W7 is shut down

    Hello, I have some basics of programming but I don’t really know anything about Windows 7 scripting, so here’s my question: How can I make it so that a specific file (FNTCACHE.DAT if you’re interested but I doubt it’s important) is deleted everytime I shut down Windows? I guess it would have...
  17. Craftyman

    Windows 7 Looping sound hard lock on login screen

    Today a little problem cropped up as I tried to watch a youtube video. As soon as I go to open it I got a sound loop crash (sounded like buzzing) and when I went to login it would crash on the windows 7 'jingle' at the login screen. This started happening the restart after I did a windows...
  18. P

    Windows 7 How to change "My Documents" env var temporarily for a certain GUI program?

    Ok, I know, I can change/set environment variables through Control Panel--->System The current environment variable values are fine for most of my programs. However there is one program which puts some config files into the folder which is currently defined as user variable "My...
  19. News

    Create a Simple Password Protected Folder in Windows 7 Sans Software [Windows Tip]

    # windowstip Windows: If you're looking to stash some files away from other users casually browsing your computer but don't need to go full bore with the encryption, you can create a password protected folder with a basic batch script. More » More...
  20. R

    Windows 7 Passing parameters from a batch script to a program

    I have just installed a set of PERL programs that are invoked from batch files and the are passed a parameter line from the the batch script. They worked fine under XP but it appears altho the perl scripts work - they do not get the parameters. Has win7 changed the way batch files work?
Back
Top