command prompt appears then disappears

la321

New member
Member
VIP
Local time
1:15 AM
Messages
141
when i try to open a .bat file command prompt quickly opens and closes
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell 545s
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
Motherboard
Dell Inc. 0T287N
Memory
7.00 GB
Graphics Card(s)
ATI Radeon HD 4300/4500 Series
Sound Card
(1) High Definition Audio Device (2) High Definition Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD7500AZRX-00A8LB0 ATA Device (2) Generic- Compact Flash USB Device (3) Generic- MS/MS-Pro USB Device (4) Generic- SD/MMC USB Device (5) Generic- SM/xD Picture USB Device (6) Lexmark USB Mass Storage USB Device
Try to right click/edit. That will open it in a text file so you can see what is going on.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Pro x64 -- PCLinuxOS KDE4 FullMonty 2011
CPU
i7-875k @ Turbo - 7,6,5,5 - 3.6ghz
Motherboard
Asus P7P55D-E Deluxe
Memory
Corsair CMD8GX3M4A1600C8 8gb
Graphics Card(s)
Asus EAH5850 DirectCU/2DIS/1GD5
Sound Card
On Board
Monitor(s) Displays
Samsung SyncMaster T220 - Panasonic VT30a 50"
Screen Resolution
1680x1050 -
Hard Drives
Corsair Force 3 SSD 120GB x 2 ::
WD VelociRaptor 150GB WD1500HLFS x 2
PSU
Corsair HX-850 Power Supply
Case
Coolmaster HAF 932
Cooling
Corsair H50
Keyboard
Logitech Wireless MK700
Mouse
Logitech Wireless MX620
Internet Speed
Good enough for now
Other Info
Voip. Insanely cheap phone calls.
what do i do after i right click and edit?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell 545s
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
Motherboard
Dell Inc. 0T287N
Memory
7.00 GB
Graphics Card(s)
ATI Radeon HD 4300/4500 Series
Sound Card
(1) High Definition Audio Device (2) High Definition Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD7500AZRX-00A8LB0 ATA Device (2) Generic- Compact Flash USB Device (3) Generic- MS/MS-Pro USB Device (4) Generic- SD/MMC USB Device (5) Generic- SM/xD Picture USB Device (6) Lexmark USB Mass Storage USB Device
it really depends on what this bat file is designed to do i think -- what is it scripted to do ...
 

My Computer

OS
Windows XP - Now Windows 7 Home Premium (64-bit).
It should open to text file. If so copy/paste the results here. Someone should be able to sort it out for you.

As mentioned though, what is it trying to do?
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Pro x64 -- PCLinuxOS KDE4 FullMonty 2011
CPU
i7-875k @ Turbo - 7,6,5,5 - 3.6ghz
Motherboard
Asus P7P55D-E Deluxe
Memory
Corsair CMD8GX3M4A1600C8 8gb
Graphics Card(s)
Asus EAH5850 DirectCU/2DIS/1GD5
Sound Card
On Board
Monitor(s) Displays
Samsung SyncMaster T220 - Panasonic VT30a 50"
Screen Resolution
1680x1050 -
Hard Drives
Corsair Force 3 SSD 120GB x 2 ::
WD VelociRaptor 150GB WD1500HLFS x 2
PSU
Corsair HX-850 Power Supply
Case
Coolmaster HAF 932
Cooling
Corsair H50
Keyboard
Logitech Wireless MK700
Mouse
Logitech Wireless MX620
Internet Speed
Good enough for now
Other Info
Voip. Insanely cheap phone calls.
i can't open any bat file its a program that captures my desktop regsvrex32 scfh.ax
regsvrex64 scfh64.ax
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell 545s
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
Motherboard
Dell Inc. 0T287N
Memory
7.00 GB
Graphics Card(s)
ATI Radeon HD 4300/4500 Series
Sound Card
(1) High Definition Audio Device (2) High Definition Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD7500AZRX-00A8LB0 ATA Device (2) Generic- Compact Flash USB Device (3) Generic- MS/MS-Pro USB Device (4) Generic- SD/MMC USB Device (5) Generic- SM/xD Picture USB Device (6) Lexmark USB Mass Storage USB Device

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 420
OS
Windows 10, Home Clean Install
CPU
Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech
Motherboard
Dell
Memory
6 gb
Graphics Card(s)
ATI Radeon 256MB HD3650
Sound Card
Intergrated 7.1 Channel Audio
Monitor(s) Displays
Dell SP2009W 20"
Hard Drives
640 GB Serial ATA Hard drive
Cooling
Fan
Keyboard
Dell USB Keyboard
Mouse
Dell Premium Optical USB
Internet Speed
DSL 2.85
ok i did that how do i open the bat file with it?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell 545s
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
Motherboard
Dell Inc. 0T287N
Memory
7.00 GB
Graphics Card(s)
ATI Radeon HD 4300/4500 Series
Sound Card
(1) High Definition Audio Device (2) High Definition Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD7500AZRX-00A8LB0 ATA Device (2) Generic- Compact Flash USB Device (3) Generic- MS/MS-Pro USB Device (4) Generic- SD/MMC USB Device (5) Generic- SM/xD Picture USB Device (6) Lexmark USB Mass Storage USB Device
run filename.bat

i am still unsure what u are trying to achieve here though ....
 

My Computer

OS
Windows XP - Now Windows 7 Home Premium (64-bit).
i'm trying to open a bat file without my command prompt opening and quickly closing
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell 545s
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
Motherboard
Dell Inc. 0T287N
Memory
7.00 GB
Graphics Card(s)
ATI Radeon HD 4300/4500 Series
Sound Card
(1) High Definition Audio Device (2) High Definition Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD7500AZRX-00A8LB0 ATA Device (2) Generic- Compact Flash USB Device (3) Generic- MS/MS-Pro USB Device (4) Generic- SD/MMC USB Device (5) Generic- SM/xD Picture USB Device (6) Lexmark USB Mass Storage USB Device
i'm trying to open a bat file without my command prompt opening and quickly closing
What you're seeing is the batch file starting, executing (running), and completing. Upon completion, the 'command prompt' disappears, as the batch file is finished.

If you'd like the batch file to not disappear upon completion, I'd recommend adding "pause" to the end of it.
 

My Computer

Computer Manufacturer/Model Number
HP 6000 Pro Micro Tower
OS
W7 Professional x64
CPU
Core 2 Duo 2.93
Memory
2 GB
Graphics Card(s)
ATI Radeon 4695
Monitor(s) Displays
Two HP 17's
Hard Drives
150GB Sata Drive
Case
Tiny. Kinda cute.
Keyboard
HP Supplied. Surprisingly nice.
Mouse
Gateway Mouse from an E2610D
Internet Speed
45 mbps
  • Like
Reactions: JMH
when i try to open a .bat file command prompt quickly opens and closes

This is quite normal depending on what the BAT file does. Simple operations only last a few seconds, which explains the command prompt window disappearing so quickly.
 

My Computer

Computer Manufacturer/Model Number
Dell / Custom
OS
Windows 7 HP / Ultimate x64
CPU
Core i5 / X4 955 BE
Motherboard
OEM / Gigabyte 880GM-USB3
Memory
4GB DDR3 1333Mhz / 8GB DDR3 1600Mhz
Graphics Card(s)
HD5470 / HD5670
Sound Card
Onboard
Monitor(s) Displays
FullHD 15" / Dell 22" WS
Screen Resolution
1920x1080 / 1680x1050
Hard Drives
320GB / 1.5TB
PSU
CM
Case
CM
Cooling
CM, Antec
Keyboard
Logitech
Mouse
Logitech
Back
Top