Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Batch file opening with notepad


  • Please log in to reply

#1
hulud

hulud

    Member

  • Member
  • PipPipPip
  • 268 posts
hello, i have a batch file that is opening with notepad for some reason. this has happened before and i dont remember the fix. i dont see bat listed in the file extensions list under Tools -> Options in explorer.

the file maps a network drive that i cant manually map using netscreen remote from offsite. i have to use a net use command to map it but i want to get this batch file working...

if i can change it so it doesnt open in notepad, that is my goal

thanks! :whistling:
  • 0

Advertisements


#2
hulud

hulud

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 268 posts
just to add, i have tried the batch file fix here -> http://www.dougknox..../file_assoc.htm

to no avail
  • 0

#3
Fenor

Fenor

    Trusted Tech

  • Retired Staff
  • 5,236 posts
Hi hulud!

Go to MY COMPUTER and then go to TOOL-->FOLDER OPTIONS. In the new window that appears, click on the FILE TYPES tab and then go through the list until you find the extension BAT and delete it if it is listed. Click APPLY and OK and then OK in the Folder Options window. Then try running the bat file again.

Fenor
  • 0

#4
hulud

hulud

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 268 posts
hello,

BAT is not on that list at all

thanks
  • 0

#5
Fenor

Fenor

    Trusted Tech

  • Retired Staff
  • 5,236 posts
Go to START-->RUN and type regedit and click OK. In Registry Editor window that appears, look in the left pane and navigate to the following keys and tell me what is listed on the right pane.
  • HKEY_USERS\S-1-5-21-725345543-651377827-2147112213-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bat
  • HKEY_CLASSES_ROOT\.bat
Fenor
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP