Workstation Auto-Setup BATCH File

Kyle Sanders

  • Instructors
  • 230
    • View Profile
Workstation Auto-Setup BATCH File
« on: March 08, 2020, 10:53:25 PM »
EDIT:
UPDATED 15MAY2020 (Added a version check to make sure you always have the most up to date BATCH File release)

---

Ever got online, primed up and realized you forgot to review something, pull up a website, launch a certain program, etc...

Or... just tired of pulling up all the information and launching all the programs you need to control?


Check this out:
https://docs.google.com/presentation/d/e/2PACX-1vTTbx5Szs5I8oveHofFnDDkJxYIWHcb7GqfyQYNXE-JtG2BX6_R0BTyj3DwOqFIRNoco1x8_XwgSc0Z/embed



Obviously this BAT file is designed for use by ZLC ARTCC but anyone that knows how to use google could figure out how to edit this for their own use.

I welcome feedback (I am not a serious coder so take it easy) and suggestions for updates!



BATCH File (contact me via PM if link doesn't work):
https://github.com/KSanders7070/Virtual_RADAR_Client_Workstation_Setup/releases
« Last Edit: May 14, 2020, 01:59:38 PM by Kyle Sanders »
Best Regards,
Kyle Sanders

Kyle Sanders

  • Instructors
  • 230
    • View Profile
Re: Workstation Auto-Setup BATCH File
« Reply #1 on: April 01, 2020, 05:15:07 PM »
MAJOR UPDATE:
  • This BATCH File now will not try to start AFV, vATIS, or DISCORD if not installed on your computer.
  • You are no longer required to have your programs located in the default directory! The file now will prompt you for the location of a program if it can't find it in the default directory, it will then save that location for future uses of the BATCH File. This is done by creating a folder in your Documents directory.
  • Added: HELP option for those that have questions or for basic troubleshooting.
  • UPDATED: The ZLC WORKSTATION CBT presentation.

Check OP for details.
« Last Edit: April 01, 2020, 05:46:32 PM by Kyle Sanders »
Best Regards,
Kyle Sanders

Kyle Sanders

  • Instructors
  • 230
    • View Profile
Re: Workstation Auto-Setup BATCH File
« Reply #2 on: April 08, 2020, 09:31:42 PM »
UPDATE:
  • Fixed bug that wouldn't launch anything except VRC as the chosen radar client.
  • File directories are now chosen via a Windows File Browser GUI instead of having to type or copy/paste the directory into the CMD Prompt.

Check OP for details.
Best Regards,
Kyle Sanders

Kyle Sanders

  • Instructors
  • 230
    • View Profile
Best Regards,
Kyle Sanders

Kyle Sanders

  • Instructors
  • 230
    • View Profile
Re: Workstation Auto-Setup BATCH File
« Reply #4 on: April 17, 2020, 09:32:08 PM »
UPDATE:
  • Changed the download link to the new GitHub link.

Check OP for details.
Best Regards,
Kyle Sanders

Kyle Sanders

  • Instructors
  • 230
    • View Profile
Re: Workstation Auto-Setup BATCH File
« Reply #5 on: May 14, 2020, 02:00:29 PM »
UPDATE:
  • Added a version check to make sure you always have the most up to date BATCH File release.

Check OP for details.
Best Regards,
Kyle Sanders

Scott Bickford

  • Members
  • 7
    • View Profile
Re: Workstation Auto-Setup BATCH File
« Reply #6 on: May 23, 2020, 07:27:09 AM »
Cool utility.  Thanks!

What is the possibility of placing  the urls in a file instead of in the batch file?

I'd like to see VATSPY, TeamSpeak and an alias file loaded in notepad++.

Kyle Sanders

  • Instructors
  • 230
    • View Profile
Re: Workstation Auto-Setup BATCH File
« Reply #7 on: May 23, 2020, 10:04:54 AM »
Cool utility.  Thanks!

What is the possibility of placing  the urls in a file instead of in the batch file?

I'd like to see VATSPY, TeamSpeak and an alias file loaded in notepad++.

The URLs into a file for reference would be a little difficult for me as I am still knew at this. It would be easier for you to just edit the .BAT file and add the URLs that you want.
Best Regards,
Kyle Sanders

Kyle Sanders

  • Instructors
  • 230
    • View Profile
Re: Workstation Auto-Setup BATCH File
« Reply #8 on: May 23, 2020, 12:39:13 PM »
Cool utility.  Thanks!

What is the possibility of placing  the urls in a file instead of in the batch file?

I'd like to see VATSPY, TeamSpeak and an alias file loaded in notepad++.


I have taken another consideration into creating a "setup" for individual users to select which websites they would want opened but it is an unessessary amount of coding when it is all too obvious how to edit it yourself by clicking "edit" on the .BAT file. I am sorry.

However, I have created a custom bit of code for you to use for opening TeamSpeak and your Notepad++ docuement.

For this to work, Notepad++ MUST be added to your "PATH". For more information on how to do this refer to the attached image and this site: https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/

Copy and paste the following code right below the :DONE function header. Be sure to edit the directoy and file name.

Code: [Select]
cd /D "%programfiles%\TeamSpeak 3 Client"
START "" "ts3client_win64.exe"

CD /D "%userprofile%\ARTCC_ALIAS_FILE_LOCATION"
notepad++ "MyAliasFile.txt"

EDIT: Forgot to attach the image
« Last Edit: May 23, 2020, 01:15:56 PM by Kyle Sanders »
Best Regards,
Kyle Sanders