Share via

notepad script files

Anonymous
2019-07-08T02:02:15+00:00

I created a script file using notepad utility.  How do I find and run the script file?

Windows for home | Windows 10 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. DaveM121 884.5K Reputation points Independent Advisor
    2019-07-08T07:03:55+00:00

    Hi Mario

    Open a new document in Notepad and choose to save it - that will give you the location of your last saved file

    Go to that location in File Explorer

    On the view tab of file Explorer, temporarily turn on 'File Name Extensions'

    Change the file extension on that file to suite your script - that will depend on the language you used, if that was VB, then change the file extension to .vbs, or if you coded a batch file, change the extension to .bat

    Then you just need to double click that file to run the script . . .

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-07-08T04:35:28+00:00

    There's something ... unusual about your question:

    You know how to write a script - but you don't know how to run a script?

    You know how to write a script - but you don't know how to name it and save it, so you can find it later?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2019-07-08T03:52:44+00:00

    Hi Mario. I'm Greg, an installation specialist and 10 year Windows MVP here to help you.

    You'd have to have saved it in the format required to run a script, as shown here:

    https://itstillworks.com/write-scripts-notepad-...

    I hope this helps. Feel free to ask back any questions and keep me posted. I will keep working with you until it's resolved.

    ________________________________________________________

    Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments