-
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...- eager2learn
- Thread
- availability batch file cmd disk issues error handling external drive file access powershell scripting windows
- Replies: 3
- Forum: Windows Help and Support
-
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...- Smoke1182
- Thread
- batch file easter extended display help scripting second screen tutorial vbs windows windows key
- Replies: 3
- Forum: Windows Help and Support
-
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...- pstein
- Thread
- automation batch file inactivity keypress mouse movement recommendations tools utility
- Replies: 5
- Forum: Windows Help and Support
-
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...- Bear
- Thread
- batch file command line environment variables function git joomla php scripting string return version control
- Replies: 2
- Forum: Windows Help and Support
-
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...- D3LL
- Thread
- batch file dropbox file synchronization network security shared folders task manager user groups windows server
- Replies: 2
- Forum: Windows Server Forums
-
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...- pingaan
- Thread
- automation batch file command line configuration conflict device conflicts device manager driver issues hardware installation reboot scripting system commands tech support troubleshooting uninstall usb hub windows windows commands windows help
- Replies: 5
- Forum: Windows Help and Support
-
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...- Joe decor
- Thread
- access batch file desktop file sharing laptop netbook network troubleshooting windows 10
- Replies: 7
- Forum: Windows Networking
-
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...- jpriley
- Thread
- assignment automation batch file born.txt documentation e drive file copy file deletion file extensions file management h drive hidden files homework s drive screen clearing scripting sorting subdirectories teams.tms windows commands
- Replies: 2
- Forum: Windows Help and Support
-
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...- Mihailo
- Thread
- automation batch file c sharp cmd command prompt development monitoring notifications process process management programming scripting software task manager tasklist text file windows windows api windows tools
- Replies: 5
- Forum: Windows Help and Support
-
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...- shreked
- Thread
- autorun batch file command line folders input message box processing rename subfolders windows
- Replies: 1
- Forum: Programming and Scripting
-
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?- Marios1441
- Thread
- batch file client data loss download formatting list recovery torrent windows
- Replies: 2
- Forum: Windows Software
-
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...- BoKnows04
- Thread
- automation batch file hard drive hdd format ntfs pc build scripting testing unattended windows 7
- Replies: 2
- Forum: Windows Help and Support
-
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...- yugo23
- Thread
- automation batch file deployment dropbox file check file monitoring pc restart script execution scripting task scheduler
- Replies: 6
- Forum: Windows Help and Support
-
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...- Calby
- Thread
- automation batch file error checking file path run issues task creation task history task scheduler troubleshooting
- Replies: 2
- Forum: Windows Help and Support
-
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...- PeterSchmitz
- Thread
- batch file start windows 7
- Replies: 5
- Forum: Windows Help and Support
-
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- pstein
- Thread
- batch file command prompt dos execution functionality scripting sleep timeout windows 10 windows 7
- Replies: 1
- Forum: Windows Help and Support
-
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...- Cardinal System
- Thread
- batch file java
- Replies: 2
- Forum: Windows Software
-
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!- WinAutomation
- Thread
- application automation batch file example login password reboot scripting startup windows
- Replies: 11
- Forum: Programming and Scripting
-
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...- eldiener
- Thread
- batch file equality processing quotes
- Replies: 3
- Forum: Windows Help and Support
-
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?- Sidonius
- Thread
- autorun batch file performance shortcuts task manager troubleshooting windows windows tools
- Replies: 3
- Forum: Windows Help and Support