| Windows 7: Stop Command Line Window Message From Closing |
29 Mar 2010
|
#1 | | Windows 7 Ultimate 64-bit SP1 |
Stop Command Line Window Message From Closing I have a problem running a task with Task Scheduler. The task doesn't run. I have to debug it. When I try to make it run from the app a message appears on a command line message, but it appears and disappears so quickly that I can't read it. To fix the problem I need to read it to know what is going on.
Can someone please tell me how to stop that command line window message from closing, please? | My System Specs |
| Computer type PC/Desktop System Manufacturer/Model Number Home assembled OS Windows 7 Ultimate 64-bit SP1 CPU AMD Athlon 64 II X3 440 Motherboard M4A785TD-V EVO Memory Kingston kit 4GB DDR3 1333MHz (KVR1333D3N9K2/4) Monitor(s) Displays ASUS AS VH198S Screen Resolution 1440x900 Keyboard Safeway SW-20-P Mouse Logitech v550 Nano Case Standard Cooling Standard Hard Drives Seagate Barracuda ST3120022A ATA,
Western Digital Caviar Black WD1002FAEX SATA-III,
Western Digital WD800BB ATA,
Samsung HD161HJ SATA-II. Internet Speed 24 Mbs (Factually 12 Mbs) Other Info PCI ATA-133 Adapter,
Parallel Port Card PCI - PU005V2. |
29 Mar 2010
|
#2 | | |
can you run the program from the command line?
open a new cmd window go to Run and type in cmd.exe
when it opens it should be in c:\windows
navigate to the folder, run the file | My System Specs | | Computer type Laptop System Manufacturer/Model Number ASUS G60-RBBX05 OS Win7 Home Premium 64x CPU Intel Core 2 Duo P7450 / 2.13 GHz (2.29 with Extreme Turbo) Memory 4 GB PC-6400 Hyundai (2X2) at 800Mhz Graphics Card NVIDIA GeForce GTX 260M 1GB DDR3 VRAM Monitor(s) Displays 16" LED Backlit Screen Resolution 1366 x 768 on laptop 1600x1050 max res on 22" external mon Keyboard Chicklet type back-lit (white light) keyboard Mouse Logitech G9 Laser Mouse 3200dpi and 1000 reports per minute PSU 6-cell Lithium ion { lasts 1.5 hours } Case ASUS G60 Laptop Hard Drives OCZ Agility 3 60GB SSD / 320 GB - Serial ATA-150 - 7200 rpm Internet Speed Comcast 8.60mb/s up - 3.11mb/s down Antivirus MSE Browser Firefox Other Info General mid-budget gaming Comp. Low batterylife - High FrameRates - currently overheating problems :(
2nd Rig: Case: Rosewill BLACKHAWK Gaming ATX Mid Tower Computer Case
Mobo: GIGABYTE GA-990FXA-UD3
CPU: AMD FX-6200 Zambezi 3.8GHz (4.1GHz Turbo)
Heatsink: COOLER MASTER V8 CPU Cooler
RAM: Patriot Viper 3 8GB (2 x 4GB) 240-Pin DDR3 SDRAM 1866 (PC3 15000)
GPU: SAPPHIRE Radeon HD 6850 1GB 2 |
30 Mar 2010
|
#3 | | Windows 7 Ultimate 64-bit SP1 |
Thanks Thorsen, but I do not want to run the command manually from the command prompt; that's is exactly what I want Task Scheduler to do for me. The commend is a batch file that I have been running manually for a few years now (so that it is thoroughly tested), but I want to do it automatically with the T.S. To make it run manually with T.S. to test the task you click on Run, on the right column, under Selected Item. That's where the Command line window appears with a message, and nothing happens.
I have also looked up on Event Viewer, but There is not an event failure code number, it just says the task failed to run, and the History tab is virgin, so it doesn't even start. Then I seasrched on MS Technet and found some explications, but not what I need to know: the text of the message that I cannot read because its four or five lines just blink on the screen.
How can I read this, please? | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home assembled OS Windows 7 Ultimate 64-bit SP1 CPU AMD Athlon 64 II X3 440 Motherboard M4A785TD-V EVO Memory Kingston kit 4GB DDR3 1333MHz (KVR1333D3N9K2/4) Monitor(s) Displays ASUS AS VH198S Screen Resolution 1440x900 Keyboard Safeway SW-20-P Mouse Logitech v550 Nano Case Standard Cooling Standard Hard Drives Seagate Barracuda ST3120022A ATA,
Western Digital Caviar Black WD1002FAEX SATA-III,
Western Digital WD800BB ATA,
Samsung HD161HJ SATA-II. Internet Speed 24 Mbs (Factually 12 Mbs) Other Info PCI ATA-133 Adapter,
Parallel Port Card PCI - PU005V2. |
30 Mar 2010
|
#4 | | Windows 7 Ultimate x86 build 7600 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx Chennai, India |
Try adding a PAUSE at the end of the batch script. | My System Specs | | Computer type Laptop System Manufacturer/Model Number HP EliteBook 8530w Mobile Workstation OS Windows 7 Ultimate x86 build 7600 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx CPU Intel Core 2 Duo Processor P8600 (2.40 GHz, 3 MB L2 cache) Motherboard Mobile Intel PM45 Express Chipset ICH9M-Enhanced Memory 2GB 800 MHz DDR2 SDRAM Graphics Card ATI Mobility FireGL V5700 with 256 MB Sound Card SoundMAX Integrated Digital HD Audio Monitor(s) Displays 15.4-inch WXGA anti-glare (1280 x 800 resolution) Screen Resolution 1280 x 800 Mouse Synaptics PS/2 Port Touchpad, USB Mouse Hard Drives 250GB Fujitsu MJA2250BH G2 ATA Device (IDE),
120GB in External Casing Internet Speed 2 Mbps Antivirus MSE Browser Firefox, Chrome, IE Other Info Authentec AES2810 Fingerprint Reader,
Optiarc DVD RW AD-7561S LightScribe |
31 Mar 2010
|
#5 | | Windows 7 Ultimate 64-bit SP1 |
Thanks gladson1976, I did that too, but with no result, and that is also why I know the batch file is not processed. It must be something on the task itself because, as I said, it is not started, so it does not start the batch file and the pause there is useless.
Is is very silly that I don't know how to stop these message windows to be able to read them. Any idea of how to? | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home assembled OS Windows 7 Ultimate 64-bit SP1 CPU AMD Athlon 64 II X3 440 Motherboard M4A785TD-V EVO Memory Kingston kit 4GB DDR3 1333MHz (KVR1333D3N9K2/4) Monitor(s) Displays ASUS AS VH198S Screen Resolution 1440x900 Keyboard Safeway SW-20-P Mouse Logitech v550 Nano Case Standard Cooling Standard Hard Drives Seagate Barracuda ST3120022A ATA,
Western Digital Caviar Black WD1002FAEX SATA-III,
Western Digital WD800BB ATA,
Samsung HD161HJ SATA-II. Internet Speed 24 Mbs (Factually 12 Mbs) Other Info PCI ATA-133 Adapter,
Parallel Port Card PCI - PU005V2. |
31 Mar 2010
|
#6 | | Windows 7 Ultimate x86 build 7600 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx Chennai, India |
What is the script for anyway ? What does it do ?
Can you post the script here ?
EDIT: I just tried adding a small batch script to TS and it worked perfectly and also PAUSE worked. | My System Specs | | Computer type Laptop System Manufacturer/Model Number HP EliteBook 8530w Mobile Workstation OS Windows 7 Ultimate x86 build 7600 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx CPU Intel Core 2 Duo Processor P8600 (2.40 GHz, 3 MB L2 cache) Motherboard Mobile Intel PM45 Express Chipset ICH9M-Enhanced Memory 2GB 800 MHz DDR2 SDRAM Graphics Card ATI Mobility FireGL V5700 with 256 MB Sound Card SoundMAX Integrated Digital HD Audio Monitor(s) Displays 15.4-inch WXGA anti-glare (1280 x 800 resolution) Screen Resolution 1280 x 800 Mouse Synaptics PS/2 Port Touchpad, USB Mouse Hard Drives 250GB Fujitsu MJA2250BH G2 ATA Device (IDE),
120GB in External Casing Internet Speed 2 Mbps Antivirus MSE Browser Firefox, Chrome, IE Other Info Authentec AES2810 Fingerprint Reader,
Optiarc DVD RW AD-7561S LightScribe |
01 Apr 2010
|
#7 | | Windows 7 Ultimate 64-bit SP1 |
Thanks gladson1976. I've running that batch file for more than six years to clean up some parts of the system, just changing the paths according to the OSs. The Windows disk clean-up is a real shit by itself. So the problem cannot be there. I also run other tasks I created with Task Manager without any problem. My real problem is that I do not have etime nough to read the notice, because if I do, I'm nearly sure I can fix it. How to just that simple thing? | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home assembled OS Windows 7 Ultimate 64-bit SP1 CPU AMD Athlon 64 II X3 440 Motherboard M4A785TD-V EVO Memory Kingston kit 4GB DDR3 1333MHz (KVR1333D3N9K2/4) Monitor(s) Displays ASUS AS VH198S Screen Resolution 1440x900 Keyboard Safeway SW-20-P Mouse Logitech v550 Nano Case Standard Cooling Standard Hard Drives Seagate Barracuda ST3120022A ATA,
Western Digital Caviar Black WD1002FAEX SATA-III,
Western Digital WD800BB ATA,
Samsung HD161HJ SATA-II. Internet Speed 24 Mbs (Factually 12 Mbs) Other Info PCI ATA-133 Adapter,
Parallel Port Card PCI - PU005V2. |
01 Apr 2010
|
#8 | | Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86 |
Setup the task under your administrator account. Then add the administrator permissions to full control for the batch file. | My System Specs | | System Manufacturer/Model Number Too many to describe... OS Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86 |
02 Apr 2010
|
#9 | | Windows 7 Ultimate 64-bit SP1 |

Quote: Originally Posted by Bill2 Setup the task under your administrator account. Then add the administrator permissions to full control for the batch file. I use that account to setup tasks, but how do I do I set the permissions for the batch bile if it is run by the task? | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home assembled OS Windows 7 Ultimate 64-bit SP1 CPU AMD Athlon 64 II X3 440 Motherboard M4A785TD-V EVO Memory Kingston kit 4GB DDR3 1333MHz (KVR1333D3N9K2/4) Monitor(s) Displays ASUS AS VH198S Screen Resolution 1440x900 Keyboard Safeway SW-20-P Mouse Logitech v550 Nano Case Standard Cooling Standard Hard Drives Seagate Barracuda ST3120022A ATA,
Western Digital Caviar Black WD1002FAEX SATA-III,
Western Digital WD800BB ATA,
Samsung HD161HJ SATA-II. Internet Speed 24 Mbs (Factually 12 Mbs) Other Info PCI ATA-133 Adapter,
Parallel Port Card PCI - PU005V2. |
03 Apr 2010
|
#10 | | Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86 |
Neophile,
I meant go to the folder where the batch file is located and give yourself full control over the file. | My System Specs | | System Manufacturer/Model Number Too many to describe... OS Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86 Stop Command Line Window Message From Closing problems? All times are GMT -5. The time now is 07:00 PM. | |