Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Bat files no longer automatic

02 Feb 2018   #1
Etloe

Windows 7 Professional 64 bit
 
 
Bat files no longer automatic

To those that know my solution is simple - but not to me.

When I click on a batch file it no longer loads automatically. It loads the DOS screen but then I have to retype the full batch file name.

Under Default Programs the current default for BAT is Windows Command Processor but I am unable to change this. On another machine that works correctly it is Unknown Application.

Is the solution a simple one or have I really screwed it up.


My System SpecsSystem Spec
.
02 Feb 2018   #2
samuria

win 8 32 bit
 
 

Welcome to the forum. Bat files are old MS-DOS files in windows you give the extension . CMD which is the modern procces
My System SpecsSystem Spec
03 Feb 2018   #3
FreeBooter

Windows 10 Pro x64
 
 

Quote   Quote: Originally Posted by Etloe View Post
To those that know my solution is simple - but not to me.

When I click on a batch file it no longer loads automatically. It loads the DOS screen but then I have to retype the full batch file name.

Under Default Programs the current default for BAT is Windows Command Processor but I am unable to change this. On another machine that works correctly it is Unknown Application.

Is the solution a simple one or have I really screwed it up.
If the Command Prompt is launched when you run the batch script then problem is with the batch script.

Can you please post content of the batch script causing the issue.

Lets tests to see if the issue is cause by the batch script you run.

Please copy and paste below batch script codes into Notepad and save it as ProgressBar.bat.

Run the ProgressBar.bat batch script and let us know if it worked.


Code:
 @echo off & Setlocal EnableDelayedExpansion
    Color 0A
     
    Set Count=0
    Set Space=                                                  
     
    For /L %%a in (1,1,50) do (
            Cls
            Set /a Count+=2
            Set Disp=!Disp!Û
            Set Space=!Space:~1!
            Echo !Count!%%
            Echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
            For /L %%c in (1,1,2) do Echo ^|!Disp!!Space!^|
            Echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
            Ping localhost -n 1 > nul
    )
     
    Pause > nul & Exit /b
My System SpecsSystem Spec
.

09 Mar 2018   #4
Alejandro85

Windows 7 Ultimate x64
 
 

It seems to me that something went wrong with Explorer's file associations, affecting bat files.

I would suggest restoring them to default to try to fix:
Default File Type Associations - Restore - Windows 7 Help Forums

Use both the ones for .bat and .cmd files as well to be sure.
My System SpecsSystem Spec
Reply

 Bat files no longer automatic




Thread Tools




Similar help and support threads
Thread Forum
How to set-up automatic deleting files on Win7?
I am trying to figure out how to set up automatic deleting files from specific folders. I know there is a 3rd party software, but was wondering if I can do it directly thru Windows 7 options?
Performance & Maintenance
Some Automatic Update no longer let's me set 5.1 over HDMI WIN7SP1P64
Solved! I have spent hours trying to get my uncompressed 5.1 audio working again. Something updated and I can no longer select or even see 5.1 or 7.1 see the enclosed screen capture. Boo Hoo! THis is supposedly a production machine:cry:
Sound & Audio
Windows Automatic update files
Hello, are the automatic update files in my disk? thanks, RR
Windows Updates & Activation
Automatic copy files to server
I am attempting to place a backup of my documents and outlook files to my domain server. I do this every Friday. Everything was fine in Windows XP, we would just copy the documents folder and overwrite the one on the server. This has become a problem in windows 7. When attempting to copy, I...
General Discussion
system restore i no longer making automatic system checkpoints
WHY IS THIS HAPPENNING- WIN 7 64 BIT system restore no longer making automatic system checkpoints but it is set up in task manager to happen 12:am every day. I can go days and no automatic system checkpoint was set up. I have to keep making a manual sr system checkpoints. Task manager says sr...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 23:45.
Twitter Facebook Google+