batch file

  1. eager2learn

    Windows 10 Error handling in Powershell

    A Windows system use an external drive N:. A programs that use the external drive give sometimes an error message like "Directory N:\datastore is not available". To test the continuous availability I write the next batch script. :loop @TimE /t >> N:\datastore\test_times.txt @sleep...
  2. S

    Windows 10 script for Win+p

    Hi guys, first of all: happy easter! I am new here and i am not quite sure if it's the right sub. sorry if not. I need help for a little script. I want a .bat or .vbs that does the same as "Win+p" => "second screen only". And for sure a 2nd script for => "Win+p" => extend. Is that even...
  3. 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...
  4. Bear

    Windows 10 Pulling hair out calling php file from batch file

    I'm having a hell of a time getting php to return a string. I don't know where they are going to install my batch file so I set the file location via %~dp0. there are 2 functions in my .php file, one to process color another to process Joomla's Version. The joomla one worked fine until I made...
  5. 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...
  6. pingaan

    Windows 10 Uninstalling device - command line style?

    Hi, I have been having an issue the past few months, but I have never really come up with a decent idea on how to work around it. It concerns a USB-hub that I'm using that my copy of Windows, for some reason, reinstalls every time I reboot the computer. I'm pretty sure that there must be some...
  7. J

    Windows 10 Have Win 10 and different computer can not see or share info

    I have desktop and laptop plus a netbook(small 11 in acer) all running win 10. Some times the laptop see the desktop and some times the netbook see the laptop. I noticed you had a small batch file and tried to run (1st post) The screen turns black and a few seconds later it goes away. If I go...
  8. J

    Windows 10 Help with creating Batch files. My instructor is no help.

    I'm having to create a set of batch files for a class. My instructor is no help. I have included the assignment. Is there anyone out there who can help me? 1. Create a batch file called DD.BAT. This batch file should display the files on the root of the HOMEWORK drive in date order with the...
  9. M

    Windows 7 C# CMD Program to Monitor Windows Processes and Alert on New Tasks

    I would like to know is it possible to make a cmd program in #C to monitor windows processes? CMD Starts and automatically sends tasklist command every 10 seconds. If new process starts during that 10 seconds it opens TXT or another CMD windows to inform me that process name and location...
  10. S

    Windows 7 Can anyone help on batch file processing..

    Hi I have a batch file command set up in a folder on my PC of which creates a new subfolder fine but what im trying to do is to be able to auto run that batch file when I click on the folder icon on the desktop. What I need to do then if poss for a message box or something come up to tell me...
  11. M

    Torrent list reload

    Hello, I lost all my torrent download list on the Bittorrent torrent client because i had to format Windows. Is it a way to reload the download list (batch) or store it so i can recover it before Windows become faulty?
  12. B

    Windows 7 Batch file to format HD Unattended

    Hey Guys, I was wanting to create a batch file to automatically format my harddrives unattended. My pc's are Windows 7. I dont want to press any keys, Id like for it to be fully unattended What I have so far is this: @echo off format C: /FS:NTFS /X Will this work? Have you guys tested any...
  13. Y

    Windows 10 How check every x minutes if there is specific bat file in the folder, and execute if present

    I want to do the following - first deploy new version of software to multiple PCs, and then restart all PCs for changes to take effect. First part is not a problem, for second part is it possible to check if there is restart.bat in Dropbox folder every x minutes, and if there is, execute it...
  14. C

    Windows 10 Can't make scheduled task to run

    Hi, I'm trying to make a scheduled task to run every 5 minutes but I don't seem to get it to run. If I right click it and make it run manually it works so the path to the file is correct and working, also the .bat file works when I double click it. Under the history tab I can't see any errors...
  15. P

    Windows 7 Clear Windows Start Menu with Batch?

    Hi everyone, after doing a clean Windows 7 reinstall I was wondering if there is a way to quickly clear the Start Menu Folder by writing a Batch file. I only know how to delete a single entry via the "reg delete <Path>" command however this only works if you add the name of the specific Program...
  16. P

    Windows 10 CmdPrompt (DOS batch) "timeout" from Win7 replaced by "sleep" in Win10?

    In DOS batch scripts under Windows 7 there was a function "timeout" which stops the execution for n seconds. This command seems to be replaced by "sleep" in DOS batch scripts under Win10. Is this true? Peter
  17. Cardinal System

    Windows 7 batch output redirection

    I am totally inexperienced with batch (.bat) files, so please bear with me... I have a Java program that I run with cmd, and I want to record the console output to a text file. In other Java programs I've created, I used jars (.jar) to run the program, thus I didn't need cmd, and I could use...
  18. W

    Windows Server Launching Application on reboot

    I have an application that needs to be launched automatically upon reboot. The application has login and password, so I need to have a script to pass out the login info. Please let me know if we can do it with .bat script and if you have an example. Appreciate it!
  19. E

    Windows 7 Windows batch file syntax problem

    In a batch file I have a line such as: if "%1" == "some_value" goto somegoto in order to test a parameter against a value. If however I need to pass as the first parameter to my batch file a string with some equal signs in it such as: "cxxflags=-std=c++11" I pass it with quotes so it is a...
  20. 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?
Back
Top