How To Code A Bat File To Restart Explorer And 2 Programs
May 22, 2012
hat am I doing wrong? The code stops after explorer.exe is restarted. I know this because the command prompt does not show the echo "-explorer restarted". When I look at the command prompt, the cursor seems to be on the next line, but without the normal C:UsersJohnSmith> in front of it (there is nothing in front of the cursor).
Also, if I include the command "exit" at the end of my .bat file, it doesn't seem to work. Even though if I type in exit into command prompt, the window closes.
I have a question that I have been unable to solve but first I will start off by saying I am running boot camp on a mac, just so there is no confusion. I am an architecture student and am using a program called Revit to render 3D models regularly. Due to the long render times find myself stuck waiting many hrs up to many days with my computer tied up rendering. Recently, after a lapse in smart thinking, my battery went dead and I thought I had lost 4 hrs of rendering time. I then disappointingly restarted my computer to restart the render but found that Windows had saved, as a last effort to maintain my program files and unsaved data, the progress of the render and it continued upon reboot.
every now and then my work PC restarts itself over night and when I come into work in the morning and find this. Every time this happens, the bulk of my programs won't launch - apart from IE, file explorer and native applications like the Task Manager. It's very strange - I try to launch an application, it attempts to load then seems to die, although in the task manager I can always see each instance of the program I've tried to start, with very low memory footprint.his has just happened to me again this morning, and after an hour or so of rebooting, eventually the applications have started working again, without any change having been made by me. I have run a defrag and disk check and also updated Windows 7 with all available updates, but the issue remains. I also switched the firewall off and still had the same problem.
Lately explorer.exe has started to stop responding and crash randomly, when it does then it doesn't restart and I can't start it from the taskmanger/run/cmd and I have to restart or re-log to get it to work again.
Is there anyway that I can get windows to repoen all the programs I had open when I last shut the machine down when I re-start it? i.e. same work processors programming tool with the same files open and ideally curser in the same place?
restarting explorer.exe if taskbar icons vanish. But a big issue left me shunning to restart explorer.exe. I didn't know how it started but everything I restart windows explorer some of the icons disapeer, not all but some significant ones like Deskspace which is manageble only to right-click on the tskbar icon, and Ditto, a software that saves your Ctrl-C data for later which the pop-up selector is located on the taskbar icon, all the others are find but this all happens when I restart windows explorer. It's really annoying to log off and log back on just to config or use some of my most useful programs.
I installed Win 7 and if i try to open my computer of click on desktop and open up screen resolution etc. I get "Explorer.exe -Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." I did a search but could not find anything related to this error in Win 7. I have found some others attached to Win XP but have to do with the installation of some software which prevents access to explorer.exe. When I boot in safe mode this issue does not appear...
I have a problem where roughly 25% of the time I insert or remove a thumb drive, my cellphone, or an external hd, windows explorer restarts. This is mostly a problem for me because certain programs in my tray are not restored and I have no way to access them after that even though they are still running. Could you help me figure out why this is happening or how to access a program if it's tray icon disappears?I've got an HP Pavillion Elite HPE and I've noticed this occurring with all of my front facing USB Ports.
I've just booted my machine, and after logging in heard the default sound that gets played when the computer is shut down. Obviously this isn't normal, so I checked the Event Viewer and found the following events.
Shutting down application or service 'Windows Explorer'.
Restarting application or service 'Windows Explorer'.
Ending session 1 started 2012-06-03T09:12:20.323285600Z.
Has anyone else encountered this, and what does it mean? From a Google search, it looks like Restart Manager had to restart Explorer for some reason. I can't figure out why, though.
example: Playing Diablo III while talking with friends on mumble. The game suddenly freezes and I wait to see if it shoud come back, and it never does.So I press Ctrl-Alt-Del to close the program, and the status says "Not responding" I close the program and wait like 5-10 sec until I can see it's closed in "task manager" and i try to start the program again.This happens, the cursor shows that it's "thinking" for like 2-3 sec, then nothing happens. Same problem occurs with Skype, these are the programs im 100% sure to crash everytime.I've tried to open them all as administrator.Tried compatible modessystem recoveryStart up Repair (windows 7 feature I believe)
When I access a certain folder in my hard disk, after 2-5 seconds I get a dialog box saying "windows explorer has stopped working" and I get two options "check online" and "restart windows explorer" then I copied that folder to another destination and I could access it but the following days the new destination also started giving the same problem. I used tools like "scan disk" and "defragmentation" but nothing worked. I use Windows 7 64 bit unlimited.
I've got a new install of Windows 7 Ultimate x64 on new hardware - a Foxconn motherboard replacing an older faulty EVGA motherboard. Since install, I've had several explorer.exe crashes, and a few bluescreens.SFC /scannow came back clean. A basic memory test (windows internal test from boot) also came back clean. Running full disk check after posting this. See error description below and attached dump logs.
I had to change system locale for non-unicode programs from Slovak to Russian, because of some problems with legacy software. Later, I have switched back to Slovak. I have rebooted and everything seemed to be fine, but ... I've noticed, that slovak/czech programs do not work properly and still using Russian codepage even if windows is showing that current locale for non-unicode program is set to Slovak.Re-setting of this option did not work, so I've downloaded some diagnostic tools and it shows: [code] So my question is: how can I change EBCDIC code page in windows 7 (for example in registry)? Or how can I reset all these settings to windows default?
I had an unusual happening on my PC. First noticed some instability while trying to open a file from Explorer, could not scroll down to file and it was jittery. Then, every time I tried to enter on an input line, an endless string of zeros were input and I could not overide or erase. Even on Email addressees. I tried a reboot and the zeros appeared on the start up password line and I could not logon. Same thing after complete power cycle. I suspected a stuck key on the keyboard and tried a different keyboard but no help. So I tried a complete restore. At first, it seemed to have the same problem, but somehow, eventually, I got logged on and now everything seems OK. But I don't really know what caused this and fear it could happen again.
Is there a way to force Windows to save a programs progress (ie a rendering program such as Revit) and restart, similar to the actions it takes before the computer shuts down after the battery has died?
I was in the process of compressing my C drive on my Dell Inspiron laptop. About 25% through I received the black screen stating a odd lettered file is compressed and to use ctrl-alt-del to restart. It won't restart and just loops. I do not have the original disk.
I wish to make possible of removing swap file from my ram disk before pc goes into hibernation. Is it possible to make this without system restart? How to stop system using swap file without restart?
I've been having issues with several computers now. All of them Windows 7 Professional 32 bits. The error they're having is the same on each PC: explorer.exe fails and restarts after clicking Ok to the dialog.
I already ran viruschecks and spywarescans. Clean booted. sfc'd. Uninstalled all updates since the week previous to the first error. Created a fresh new profile for the user. Disabled all non-Microsoft shell extensions. Reinstalled Windows. and non on them had made a difference.
The oldest issue is november 6th (there's not a single instance of the error before that date); since then, the issue is happening at least once a day but more like 5-10 times a day. I ran Windbg and for almost all errors it points to "fundisc" module as the culprit, although i don't know what piece of software would be using it. The only updates they had installed are security and critical updates via WSUS.
I went through my first attempt at building my own computer about 2 months ago and the process went fine. But about a week after I began using it, I started getting BSOD that seemed happen whenever I would run a CPU intensive program (Handbrake, VMWare Player, etc). It won't always crash when running one of these, but maybe once every couple of days when running a program such as this.I've tried the following after researching online: Ran memtest86 overnight, no errors found in RAM Put in a beefier CPU cooler (ZALMAN CNPS9500A-LED 92mm 2 Ball CPU Cooler) to lower the CPU temps Reinstalled to a fresh version of Windows 7 Ran 'verifier.exe' according to the steps shown in many posts here - the result of this is that about 30-60 seconds after I login to Windows, a BSOD occurs - this is repeatable every time until I cancel the verifier program The specs of this computer are as follows: Intel Core i7 3770 processor Microsoft Windows 7 Professional x64 Antec BP550 Plus 550W Continuous Power ATX12V V2.2 80 PLUS Certified Modular Active PFC Power Supply G.SKILL Ripjaws X Series 16GB (2 x 8GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10666) Desktop Memory Model F3-10666CL9D-16GBXL ASUS Sabertooth Z77 LGA 1155 Intel Z77 HDMI SATA 6Gb/z USB 3.0 ATX Intel Motherboard NVIDIA GTX GeForce 550ti (installed AFTER the BSOD started occurring) Crucial M4 2.5" 64 GB SATA III Internal SSD Seagate 300 GB HDD (don't have the exact model here) ASUS 24x DVD-RW ?
After my PC has been running for a certain amount of time (anywhere from a few hours to a few days) my folders no longer load/display the items inside correctly until I restart. I either get a completely blank folder where I know there are files, or I can see the files but the icons don't display. For instance, I am currently experiencing this, and in my "my documents" folder, some of the folder shortcuts show NO icon at all, just the blank placeholder and the text under it, and some just show a plain folder. When things are working correctly, each folder displays, usually showing media that is inside that folder or some type of specific icon.One thing that is common once this problem begins happening is the green loading bar that runs across the top of the folder window becomes slower the further to the right it goes, and never makes it all the way to the right. It slows and stops at about 95%.
This error is NOT present when I am looking at a folder through a program. For instance, if I go into Adobe Photoshop, then "Open," and then browse to My Documents, All of the foldrs in that "open" windows display correctly. Everything appears as normal in folders in this view, as opposed to nothing appearing if I open it in windows explorer.[URL]Finally here is a view of the FreeCorder folder where there ARE items stored, but nothing appears due to this error.Again, all i have to do is restart and everything will be fine again for a while. Then some magical trigger is executed (I have no idea what that trigger is) and things go funky like this.I DO put my computer on stand-by frequently, but that doesn't seem to be THE trigger, as it has come out of stand-by performing normally.
I have to boot twice for my display adapter to start. Im making a bat file in startup folder who does this operation for me, but i cant get further than starting device manager.
Here is my .bat file so far: set DEVMGR_SHOW_DETAILS=1 start devmgmt.msc
i just installed a new premium theme called hud apocalypse. i love the theme except it kinda erased my shutdown/restart/logoff/switchuser default from the start menu.I was able to write a batch file to shutdown. this is the code in the batch file c:windowssystem32shutdown -s -f -t 000..i've done a lot of google searches and alot of them say to restart via batch file and the command is Shutdown -r but this just shutsdown the computer and doesn't reboot.
I'm on a network where I keep my files but I'm very aware of whether or not these might be open elsewhere. From time to time at any old time of the day (randomly it seems in other words) I'll go in and try to arrange, rename, or get rid of files and I'll get "The action can't be completed because the file is open in Windows Explorer. Close file and try again". Except that the file ISN'T open anywhere.