Batch File Hide Command Window
Feb 10, 2016I have a batch command to back up a subdirectory:
xcopy "C:All*" "E:Allback*" /E /Q
How can I hide the command window during the execution?
I have a batch command to back up a subdirectory:
xcopy "C:All*" "E:Allback*" /E /Q
How can I hide the command window during the execution?
Can't download batch file "10services_default.bat" to solve windows 10 start menu problem.
View 3 RepliesI am trying to run a batch file with these contents:
Code:
ECHO OFFTIMEOUT /T 2 /NOBREAKDisplaySwitch.exe /internalTIMEOUT /T 2 /NOBREAKDisplaySwitch.exe /external
I've tried putting a shortcut to it in the startup folder, putting the bat itself in the startup folder, and running it as a task using task scheduler. I also have UAC completely disabled. It runs fine when I run it myself, but it won't run at startup. How can I get to run when I start the computer?
( do you want to allow this app to make changes to your pc ( yes ) ( no )). And we all know the pros and cons of disabling the UAC. Wouldn't it be good if the Yes Box was automatically Clicked for you. All we need is some type of Batch File that would specifically watch for that Message and Answer it for you. Or maybe hidden deep within the registry it may be possible Tick the right Box to do it for us. Looking for some Positive Answers.???
View 3 RepliesI am trying to make a batch file that will run multiple programs at once.
No matter what I do I can't get a batch file to open anything. I have tried a wide variety of programs and command formats. In every instance, the CMD window flashes on screen, and will not stay open even if I end my batch with "Pause".
I even checked Window's file extensions (per another thread on here) to ensure that batch files are properly unassociated.
After trying a wide variety of things, I have stripped my test batch file down to this code:
@echo off
START C:WindowsNOTEPAD.EXE
pause
Why I can't get this to work. Oh, and yes I have tried running the batch file as administrator.
I had written and saved the text in Word and then changed the file type to .bat. Creating it in Notepad totally fixed that issue.
How can I hide that tiny color borders: [URL]
Also I would like to remove the shadow it has.
I have a desktop running with a few apps 24/7 feeding to a network, on the rare occasion it drops or restarts due to some update or power outage I thought I could write a simple batchfile just to restart everything automatically.
Problem is 1 app refuses to start, the app itself is in c:program files (x86) and that seems to be the issue. Error message I get is "cannot find c:program"
path for the app is...
C:Program Files (x86)COAAPlanePlotterPlanePlotter.exe
the other 2 apps open fine (but they are not pathed to (x86). am I going daft or missed something simple?
(Win 10 64 bit all updted)
I'm trying to create a batch file that should
- call another batch file
- start a program and then wait for the program to close
- call another batch file
My goal with this is to work around an issue in Windows 10 where the screensaver won't work when I have my game controllers connected. I already created two batch files where one of them enables my game controllers and the other one disables them. Both these batch files work just fine.
However I now want to create a third batch file that will do what listed above - first call the batch file that will enable my game controllers, then start my program which is an executable and then after I exited out of the program the batch file that will disable my game controllers should be called.
Here's what I've tried but this doesn't work, it will only run the first batch file enabling my game controllers.
Code:
"c:utilGame controllers - Enable.cmd"start "P:Program Files (x86)Lockheed MartinPrepar3D v2Prepar3D.exe""c:utilGame controllers - Disable.cmd"
I've just made a very simple batch file for cleaning my temp folder. I've put the .bat file in my startup folder so it would clean TEMP when i log in. I've wrote down the following lines:
rd D:TEMP /s /q
md D:TEMP
As i said, very simple. But the problem is that it is not working. I also think i know why; there are files and folders in the temporary folder that are in use so the batch file can't delete them.
is there a way to hide or remove the user picture at the login screen?
I've managed to change the background image of the login screen, but that big circle that shows a picture of the user is pointless and ruins my image.
I want to hide the right side file view. Please check the screenshot than you will be clear.
View 3 Repliesis there a way to disable or not show any previous searches that have been performed for the windows explorer?
View 3 RepliesWhen Windows 10 downloads an esd file with Windows Update, before installing it, Windows must decrypt it.
What command used to do this?
I would like the OneDrive icon to be hidden/removed from File Explorer on my 64 bit Windows 10 Home device. I find the same steps all over the that don't seem to work for me involving setting two flags in the registry as follows:
Set the System.IsPinnedToNameSpaceTree DWORD value to 0 for both of the following:
HKEY_CLASSES_ROOTCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}
HKEY_CLASSES_ROOTWow6432NodeCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}
I've set them both on and off, restarting inbetween, several times but it doesn't seem to affect OneDrive in the File Manager. The other option presented is ripping OneDrive out completely but that doesn't seem to work for me as well. Those instructions involve killing the OneDrive process and then removing it using the following commands:
64-bit edition of Windows 10: %SystemRoot%System32OneDriveSetup.exe /uninstall
32-bit edition of Windows 10: %SystemRoot%SysWOW64OneDriveSetup.exe /uninstall
I've though I'm running 64-bit Windows 10 I don't even have OneDriveSetup.exe in my System32 folder. I do have it in my SysWoW64 folder but when I run it with the /uninstall switch nothing seems to happen and the OneDrive icon remains in File Explorer.
How can I add the Move To command to file explorers pull down menu?? It is listed at the top, but not in the pull down menu.
View 3 RepliesI have Windows10 with dual monitors. When I start Windows the taskbar on Monitor 2 is visible and won't move. If I turn Cortana on and off it resumes auto-hiding but I have to do this every time I start Windows 10.
View 2 RepliesCan a file folder open it it's own window all by itself without any of the drive's other folder structure showing?
I have certain folders I must refer to frequently and I'd like to create a shortcut which would pop one open in a new window without having to wade through the whole drive's folder structure. This was normal on my last pc running XP but I can't seem to duplicate in Win10.
Every time I open File Explorer the window jumps to a new position (possibly a glitch). Is there a way to reset these settings through the registry?
View 1 RepliesWhenever I start to type in the search field, I never get to finish typing because explorer opens a new window right away after the first character.
EDIT: Also, double clicking folders opens a new window as well.
So I upgraded to Win 10 and so far I like it, but a problem which I find annoying:
Whenever I open file explorer the window tends to move from where I placed it. What I mean is I place the window directly in the center, as I like it. When I open it again, it will be displayed at the very top of the screen. When I close it and open it again it will be displayed at the bottom of the screen on the left. The window seems to change places every time it is opened.
Nothing major, but I am OCD about keeping windows centered and organized haha so is there a way to keep the window in one spot? Is this a bug or is this supposed to happen?
While I'm transferring a file for example, the file transfer window always opens outside the screen, Screenshot: [URL]
Tried moving it down, and re-opens outside the screen all the time
When I right-click on a folder in the Navigation pane (that's the far-left window in File Explorer, right?), I see "Expand" right at the top of the drop-down box. However, it is grayed out.
If I go to File>Change Folder and Search Options, I can turn on Open Each Folder in The Same Window, but it doesn't actually work.
As things stand, if I want to move a file from one folder to another, I have to open a separate window. In all previous versions of Windows, that wasn't necessary, because you could expand all folders right in the navigation pane.
I have Windows 10..Just recently I have found that when I open a folder on my desktop which opens in maximized mode, and then go ahead and click to restore the window to a smaller size, instead of doing so, the window restores to the width of the three buttons at the top (minimize, restore, close) and then the file explorer window crashes and freezes for a few seconds, my screen goes black for a few seconds, then I am returned to the desktop, where the window has closed.Is this a sign of hard drive corruption?
View 1 RepliesI am having an issue after using Windows 10
Before using 8.1 , when wanting to upload a certain file to a website or where ever , There is a pop up windows that let's you search to file to upload , after clicking the button on that particular website, now in Win 10 , when clicking the button the file search popup (Open dialog box) windows fails to appear and so cannot search and upload the files.
I don't know if this is related to Win10, or an issue that existed with my Win8.1 before. I just noticed it after upgrading yesterday.
So, my firewall just prompted me about an outbound connection attempt by a file (named C:WindowsSystem32SIHClient.exe) and I didn't recognize it. I found it using explorer, and it's unsigned; so I visited VirusTotal.com and tried to upload it... but from the file upload browse box in Chrome I can't see the file! Even typing *.* and open doesn't remove the "filter" and reveal the file. (I finally ended up copying it to desktop and uploading from there, but still don't know what the file does.)
I thought that Explorer's "File View Options" (show hidden files, do not hide operating system files, etc.) were used throughout Windows once applied. Am I wrong? Should I suspect a virus or is this normal? What gives?
I am trying to write a batch file in Windows 10 to output day of week (Monday, Tuesday etc) to variable do that I can do certain procedures on differnt days o the week and am having major problems.
If I type DATE /T at command prompt I get 15/01/16 and no day of week.
I have change regional setting so that long date is in correct format but still if I type DATE /T at command prompt I get 15/01/16 and no day of week.