- 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.
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"
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.???
I 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.
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.
It's extremely difficult to assign default programs (either no option for "default" or it just doesn't take my choice) for different media, but once assigned, Win10 later forgets the default program and opens it with another.I have assigned all audio file types (mp3, wav, m3u etc.) to open with Winamp. I've done this by manually assigning a default program for every single file type in "Control Panel - Default Programs - Associate a file type...", because every other option failed.
Later, after a reboot, it still shows "Winamp" in the list of file types. But Win10 now opens m3u-files with VLC player! I'm going hardcore, with registry keys etc - only need the info. some file types are not listed under "Control Panel - Default Programs - Associate a file type...". How can i assign these missing file types to a program?
I've been running Windows 10 since last August, after upgrading from Win 8.1 on my Asus laptop.
I use the taskbar (launchbar?) to start my favourite programs, such as Excel, and some 8-10 files are stacked on the icon so I can right-click the icon and select/open my desired file.
That was until approximately 10 days ago, when clicking on a file name only opened Excel, and I have to do a file/open within Excel to get the file I want open. Other programs that are also on the bar e.g. my PDF program, still opens the file name I click on.
I have installed Aome hdd manager on my W10 PC and laptop. On the PCs it appears in the start menu and also as an icon in the start menu.
But on the laptop it is not showing, have uninstalled and reinstalled and created a shortcut from the installed .exe file then chose pin to start menu, but still nothing ...
Every time im trying to open a folder on my PC Im getting this message:
"This file does not have a program associated . Please install a program or , if one is already installed , create an association in the Default Programs control panel "
The only way to open the folder is to use right mouse button click and choose open, very annoying to work like this. The only strange thing I see is that when I klick right mousebutton on top it seems windows wants to open my folder with "cmd"...
My neice had a virus which I successfully cleaned out, but now every time I start up the laptop I get an error message that it couldn't load "C:Usersher nameAppDataLocalCall KitCallKit.dll" and I am having a real trial with attempting t identify what program is calling for the absent .dll file.
if it is possible to change a open with option back to unknown application on some files. i accidentally clicked open with the picture opener and its stuck on it now. how can i revert this?
I have Windows 10 64-bit, I did a clean install on a new build (SSD). I would use the Windows "move" application feature and the default download location option but Microsoft greyed out the option on the final release of Windows and nobody knows when the feature will be back.
So should I change this stuff in regedit, using this method* or what should I do?
I recently updated my 4 year old acer laptop to win10. I have a calendar program called "windates" I placed a short cut in the system startup folder but the program does not start when I boot up my laptop. I did put a short cut on the desktop which works fine. Everything else has been working fine with win10.
I just upgrade to Windows 10 from Windows 8.1 two days ago. I installed Microsoft Office Home & Student 2013 last night. Office seems working fine. However, this morning I cannot start any program, such as Adobe Reader and Google Chrome. No error message. I even cannot uninstall the chrome from Control Panel!
Nothing changed. Only one thing I notice is that Microsoft Visual C++ 2005, 2008, 2010 Redistributables have been added automatically.
I was using a 2nd monitor with win 10. then I upgraded to a better monitor. now, when I start a program, win10 still thinks the monitor is still attached and starts the program in the old monitor. is there a way to tell a program which monitor to start on?
I have a program that came with an IP cam I use for remote viewing that will display the video in IE but not in Edge. The program correctly displays the internal parameter screens from the camera ie-resolution settings, alarm settings et-al. just not the video.
When I use Edge to view the camera directly by typing in the IP address I get the normal sign in screen from the camera and everything I would normally expect but no video image. Just a blank black screen within the camera software border. When I use IE the video is fine.
I have viewed the " How to Change Default Programs" article and it only shows how to force an IE start for "groups" of programs not a specific program.
Is there a way to force a SPECIFIC program to use IE in Windows 10 rather than Edge?
I want a program to start automatically on windows startup, Nothing needs to be done on the program I just want it to open up, can't see anything on the program's settings suggesting there is a way.
On task manager under the start up tab it says that it is enabled, although I have never seen it active even on the active programs list, I can't disable it either.
The program is Gigabyte OC Guru and I'm running windows 10. It's not urgent, just want it to start so the led on my gpu is the right colour.
When I start the system and after the desktop appears for a few minutes, I get an indication from the lower right portion of the screen that my anti-virus is off and I need to tap to turn it on.
Is this the normal way Win 10 handles Internet Security programs? I'm using ESET Smart Security 9.