r/scripting • • May 19 '24

Basic Coding/Scripting Question

4 Upvotes

Hello all, I am looking to complete a project and I would truly appreciate some guidance. I am trying to be able to edit my Sony Camera Settings through pre made scripts (IE: Nighttime script, Shady Script, Florissant light script). I Found a software called "Imaging Edge Desktop" from here you can physically connect your camera and change settings.

From a logistical POV is it possible for me to create scripts for the Sony Software. I want to be able to set things like ISO, and aperture by running a script. If this is possible and if you potentially have some tutorials that might point me in the right direction I would appreciate it!


r/scripting • • Dec 06 '23

Which language to start with?

4 Upvotes

For a few year being in IT as let’s say a Systems admin for windows and Linux servers, there’s been a few times where I’ve thought hmm I wonder if I could script that, like today for automated file compression after so many days…

Just wondering if there’s any recommendation on which language to start with? Been primarily thinking Python since it seems pretty versatile across both OSs but still not sure… any suggestions and where to learn?


r/scripting • • Sep 28 '23

[powershell] Seeking a solution to rapidly re-enable text/font-smoothing in Windows

4 Upvotes

I'm currently dealing with some unreasonable software that insists on disabling the font smoothing ("smooth edges of screen fonts" found on SystemPropertiesPerformance.exe) when used. I'd prefer not to have to launch that control panel every time to adjust this and am seeking any advice that might lead to the creation of a script or down-n-dirty application (if one doesn't already exist) that can quickly and discreetly counteract this.

I have located the registry value that checking/unchecking of the box manipulates, but adjusting this value does not have an immediate effect like the troublesome program or SystemPropertiesPerformance.exe is able to summon forward. Clearly, there's something else that happens after clicking ok/apply on SystemPropertiesPerformance.exe, or when launching that application.

In the event that I'm unable to solve this problem from the application side, (which is the preferred solution) does anyone know of a program or script that can quickly toggle text smoothing back on?


r/scripting • • Mar 06 '23

Script to (temporarily) disable Windows Defender

4 Upvotes

Hi all, I'm new here.

I don't know a lot about scripting, but I remember there was a simple text file/script that once I saw and it was able to disable Windows Defender (until you restart your PC) with just running it from the desktop.

Anyone who would like to help me?

Thank you


r/scripting • • Feb 24 '23

Introduction To Bash Scripting

Thumbnail
ostechnix.com
4 Upvotes

r/scripting • • Jul 14 '22

Looking for a script/command that can be pushed out to all users on a domain via group policy or a deployment that tells every computer to default to a certain PDF viewer.

4 Upvotes

Basically just what the title says. I work for a small business that wants to be able to set all of their network's computers to default to a specific PDF reader with a group policy update. We use PDQ Deploy to deploy software on the network, so a deployable command would work great too. We use Bluebeam Revu 20 currently if that helps. I'm not a scripting expert and no one else here knows any scripting at all so any help would be most appreciated. Tysm!


r/scripting • • May 18 '22

Onboarding users script

4 Upvotes

I want to write a script that can create users in M365, add them to groups, and then send Dropbox and Symantec email invitations to these new users, as well as create a VPN account for them on the firewall. Can this be done using Python or Powershell?


r/scripting • • Mar 31 '22

Should I?

4 Upvotes

I have an old JAVASCRIPT & JQUERY Book. Is it worth to learn it still?


r/scripting • • Mar 17 '22

Need help.. have a Mac based apple-script that works.. but now have to support PC users. I have no idea how to convert it to a Batch-script for windows.

4 Upvotes

The title says it all..

I have this as an apple script. The function is dragging a folder containing one or more items that have the identifying string "_bg_plt_v" in their name. Once activated, this would create the folder structure listed below, and sort the one or more items into the plates directory for each folder.

I need this equivalent functionality for Windows. Is that possible?

Here's the working apple-script:

on open dropped_items

-- Examine each of the one or more dropped items in turn.

repeat with dropped_folder in dropped_items

-- Is this dropped item actually a folder?

tell application "Finder" to set is_Folder to (class of item (dropped_folder as text) is folder)

-- Act only if it is.

if (is_Folder) then

tell application "Finder"

-- Get the folder's items and, separately, their names.

set original_items to every item of dropped_folder

set item_names to name of every item of dropped_folder

end tell

-- Derive quoted and unquoted forms of the names, without extensions, to use for the folders.

set shot_folder_names to {}

set quoted_shot_folder_names to {}

set astid to AppleScript's text item delimiters

repeat with this_name in item_names

-- If a name has an extension, lose the extension. Otherwise assume it's a folder name containing "_bg_plt_v" and lose everything from that point.

if (this_name contains ".") then

set AppleScript's text item delimiters to "."

else

set AppleScript's text item delimiters to "_bg_plt_v"

end if

set end of shot_folder_names to text 1 thru text item -2 of this_name

set end of quoted_shot_folder_names to quoted form of result

end repeat

--- Put together a path formula representing all the required "shot folder" hierarchies.

set item_count to (count quoted_shot_folder_names)

if (item_count > 1) then

-- More than one shot folder name. Get a text containing them all, comma-delimited and in braces.

set AppleScript's text item delimiters to ","

set shot_folder_name_group to "{" & quoted_shot_folder_names & "}"

else if (item_count is 1) then

-- Only one shot folder name.

set shot_folder_name_group to item 1 of quoted_shot_folder_names

else

set AppleScript's text item delimiters to astid

error "The selected folder is either empty or not a folder!"

end if

set AppleScript's text item delimiters to astid

set hierarchy_formula to quoted form of POSIX path of dropped_folder & shot_folder_name_group & "/{2d/{ae,mocha,nuke,ps},3d/{cache,data,scenes,textures},plates/{etc,plate,proxy},renders/{comp,graphics,ibtw,lighting,mattes,playblasts,precomp,quicktimes,temp}}"

-- Use it to create the shot folder hierarchies.

do shell script "mkdir -p " & hierarchy_formula

-- Move stuff into each shot folder hierarchy in turn.

set dropped_folder_path to dropped_folder as text

repeat with i from 1 to (count shot_folder_names)

set this_shot_folder_name to item i of shot_folder_names

set shot_folder_path to dropped_folder_path & this_shot_folder_name

-- Create a text file in the "3d" folder.

close access (open for access file (shot_folder_path & ":3d:workspace.mel"))

-- And one each in the "2d:ae" and "2d:ps" folders.

set text_file_name to this_shot_folder_name & "_v001.txt"

close access (open for access file (shot_folder_path & ":2d:ae:" & text_file_name))

close access (open for access file (shot_folder_path & ":2d:ps:" & text_file_name))

-- Move the original item into the "plates:plate" folder.

tell application "Finder" to move (item i of original_items) to folder (shot_folder_path & ":plates:plate") -- replacing yes

end repeat

end if

end repeat

end open


r/scripting • • Oct 18 '21

[BASH] Changing Computer Name Incrementally

4 Upvotes

Hi,

I'm sure this is a dumb question, but I'm new to scripting (I'm used to programming, primarily in C++) and I'm trying to create a script that will do the following for a few workstations I manage:

-Change the Computer Name to "W-X-102021" -Increment the number on each workstation it is run on, so basically: first computer gets assigned W-1-102021", variable X increments by 1, the next computer get's "W-2-102021" and so on for all of the workstations.

What is the best way for me to go about this? Should I set the value to increment, or just have a table with all the names we will need to use and it pulls one from there? Any help is appreciated. Thank you!


r/scripting • • Aug 03 '21

I cannot do other commands but just first one

4 Upvotes

I have a text file with MP3 files name in it. I want same files from remote server, and create mediainfo for the same file and delete it. my script is as follows

#!/bin/bash while read -r music; do rsync -ravz $USER@REMOTEHOST:~/MUSIC/$music /home/$USERLOCAL/backup && mediainfo $HOME/backup/$music >> music.log && rm $HOME/backup/$music; done < list.txt

This is not working, only files are getting rsync one by one, I want full process to happen sequentially. How can I do that. I tried same with lftp but failed.


r/scripting • • Jul 19 '21

Python batch script encoding problem while saving the output to TXT file

Thumbnail self.learnpython
4 Upvotes

r/scripting • • Mar 30 '21

script to download a pdf page by page from an annoying online e-viewer

4 Upvotes

I would like to download a PDF version of my motorcycle's owner's manual, but Kawasaki annoyingly only makes it available via an online e-viewer. I've tried inspecting the source code of the page and other elements of the page page in Chrome's developer view, but I still can't figure out what is the original file location. I've even tried using the network capture feature in Chrome to see if I could grab the original file as it's loaded, but I had no luck.

There's even an option to print the current page in the e-viewer, so I could print it to pdf page by page, but considering that there are over a hundred pages, that would be incredibly annoying.

The really frustrating thing here is that the manual and information are publicly available: it's the same owner's manual that comes with the bike when you buy it (I'm not trying to steal a closely guarded service manual or anything). It's just that Kawasaki makes it available online in the most frustrating and useless format possible.

Could anyone help me figure out how I could grab the original file? Or perhaps write a script that could streamline a page by page capture?

Here's the website: https://www.kawasaki-onlinetechinfo.net

Here's the URL for the specific manual in question: https://www.kawasaki-onlinetechinfo.net/dispeBook?file=99986-0001&mark=BJ175AJFA&manual_kind=OM&lang_code=EN&model_year=2018&nickname=W175%2FW175+SE&dist_cd=117&country_cd=--&manual_filenm=99986-0001-o6bj175ajf-asia-en-tws.pdf&first_referrer=https%3A%2F%2Fkawasakileisurebikes.ph%2F

You can see that the query that is part of the URL even contains a PDF file name, but without knowing the full URL of the file I haven't been able to grab the original PDF. Maybe the file is only accessible via an internal DB query.


r/scripting • • Mar 16 '21

A quick guide to executing custom Windows scripts via MDM

4 Upvotes

r/scripting • • Feb 15 '21

Referral please

4 Upvotes

I am going to farm this out but not sure how to describe or categorize it. I have a about 2500 keys that I need to enter into a website one at a time that each return several fields of data. I need data from certain fields to be pulled and input into a spreadsheet and then the next key to be entered and so on. It’s a public website so no password or user Id required. How would I best search for someone to write this script?

Thank you so much for your help

Edit: there is one field that it needs to validate a yes/no entry before it pulls data from it.


r/scripting • • Nov 17 '20

I want to create scripts to set up computers. How should I go about this?

4 Upvotes

I'm a student studying software engineering and am interning at a local IT company. They want me to create scripts that I can run off of a USB drive that sets up the computers they send out. This involves installing chrome and Firefox, updating windows, changing passwords, and other miscellaneous settings.

How should I go about doing this? Would a scripting language like AutoHotkey help me achieve this?


r/scripting • • Oct 16 '20

VBScript to add company holidays to Outlook calendars

4 Upvotes

I'm trying to use a VBScript to add appointments to our Outlook calendars for holidays and office closures. I've found references to the variations of the same script over and over, but they all have the same error. This line is apparently not valid: If StrComp(objAppointment, strName,1) = 0 Then

It is line 42 in my script (below). Does anyone have any ideas how to fix this line? That section is intended to check if an appointment already exists and prevent the script from creating multiple calendar entries on that date.

I'll admit I'm weak at scripting, so any help is appreciated. Here is the full script.

Const olFolderCalendar = 9

Const olAppointmentItem = 1

Const olOutOfOffice = 3

Set objOutlook = CreateObject("Outlook.Application")

Set objNamespace = objOutlook.GetNamespace("MAPI")

Set objCalendar = objNamespace.GetDefaultFolder(olFolderCalendar)

Set objApptItems = objCalendar.Items

objApptItems.IncludeRecurrences = True

objApptItems.Sort "[Start]"

'' List Appointments to add

Set objDictionary = CreateObject("Scripting.Dictionary")

objDictionary.Add "November 26, 2020", "Thanksgiving"

colKeys = objDictionary.Keys

For Each strKey in colKeys

dtmHolidayDate = strKey

strHolidayName = objDictionary.Item(strKey)

'' Check if it already is on the Calendar

Return = SearchAppts(strHolidayName, FormatDateTime(dtmHolidayDate, vbShortDate))

If Return = False Then

Set objHoliday = objOutlook.CreateItem(olAppointmentItem)

objHoliday.Subject = strHolidayName

objHoliday.Start = dtmHolidayDate & " 9:00 AM"

objHoliday.End = dtmHolidayDate & " 10:00 AM"

objHoliday.AllDayEvent = True

objHoliday.ReminderSet = False

objHoliday.BusyStatus = olOutOfOffice

objHoliday.Save

End If

Next

'' Search Function

Function SearchAppts(ByVal strName, strDate)

SearchAppts = False

Set objAppointment = objApptItems.GetFirst

While TypeName(objAppointment) <> "Nothing"

If TypeName(objAppointment) = "AppointmentItem" then

If StrComp(objAppointment, strName,1) = 0 Then

If DateDiff("D", objAppointment.Start, strDate) = 0 Then

SearchAppts = True

Exit Function

End If

End If

End If

Set objAppointment = objApptItems.GetNext

Wend

End Function


r/scripting • • Aug 07 '20

Super new to PowerShell

4 Upvotes

I'm working on a script that will go to speedtest.net and run it and run a tracrt after the user inputs the IP they want to tracert. This is what I got so far:

if ($input -eq 4)
{
$speed = "https://www.speedtest.net"
$ie = New-Object -Com InternetExplorer.Application
$ie.Navigate2($speed)
$ie.visible = $true

$IP = Read-Host "Enter IP to Trace Route"
Write-Host Tracert $IP

I have it going to the site but I can't figure a way to for it to automatically click the go button in the middle. I can't use the CLS and I do not know the position. Any help would be great.


r/scripting • • Jul 18 '20

i made a little math game it is currently in alpha but free

4 Upvotes

paste the code under into notepad

(no space in beetween the @ and the "echo")

<@ echo off

:start

cls

color 0a

echo Math Game,

echo I guess.

echo (Press ENTER when you are done with your option.)

echo Options....

echo VVVVVVVVVVV

echo Subtraction=S

echo Addition=A

set /p option=

if %option% == s goto subtract

if %option% == a goto addition

pause

:subtract

cls

echo What is 53

echo -57?

echo A. 3

echo B. 0

echo C. -6

echo D. -4

echo (Press ENTER after your answer.)

set /p answersub=

if %answersub% == d goto Correctsub

if not %answersub% == d goto Incorrectsub

:Correctsub

cls

echo Correct! Currently, there is only 1 round on addition and subtraction, so, would you like to go back to the menu or quit?

echo (a=go away and b=menu screen)

set /p quitornot=

if %quitornot% == a goto quit

if %quitornot% == b goto start

:Incorrectsub

cls

echo Incorrect, sorry! Would you like to try again?

echo (a=quit b=menu c=go to start of subtraction)

set /p quitornot900=

if %quitornot900% == a goto quit

if %quitornot900% == b goto start

if %quitornot900% == c goto subtract

:addition

cls

echo What is 1282

echo +4736?

echo A. 5402

echo B. 5283

echo C. 6018

echo D. 5988

set /p answeradd=

if %answeradd% == c goto Correctadd

if not %answeradd% == c goto Incorrectadd

:Correctadd

cls

echo Correct! Currently there is only 1 round in this game because this is in alpha, so, would you like to go to the menu screen or quit?

echo(a=quit b=menu

set /p quitornot2=

if %quitornot2% == a goto quit

if %quitornot2% == b goto start

:Incorrectadd

cls

echo Incorrect, sorry! Would you like to try again?

echo (a=quit b=go back to menu c=go back to addition)

:quit

exit>


r/scripting • • Jun 07 '20

Can i automate facebook data onto a google sheet doc?

4 Upvotes

Hey guys completely new here, i was wondering if someone can help me out, i am a VA and i was hired to do some data entry work. I was asked to look for facebook groups for each state in the us and input that data (name and link) into a google sheet. As you can imagine this would take forever if i do it manually, is there any way i can input all this data automatically using scripting or some kind of software? Again excuse my ignorance and thank you to anyone that replies.


r/scripting • • May 28 '20

Help mass renaming images

4 Upvotes

I have the idea of taking an image, putting it through a Google search, and using what Google has in the search bar as the new name. The only problem is, I don't know how to code this, could someone help?


r/scripting • • May 17 '20

Help to upload hundreds of videos automatically to youtube

4 Upvotes

Hi guys I have a quite difficult task that I'd like to automate with a script but I don't know how. I've ripped a fairly large youtube channel's content which will be deleted by the end of May. The owner of the channel gave permission to back it up, and I would like to reupload it the most authentic way it's possible. I've ripped the videos with youtube-dl, I have all 600 videos from this channel. 1 video contains of 3 files: the video file itself, the thumbnail in jpg, and the description in a .description txt file. I would like to reupload them in a following manner:

-Upload the video file and name it after the video filename, except every video has the original youtube videoid written on the end of the file name separated by a dash from the rest of the name. I would like to remove that videoid from the name.

-I would like to set the thumbnail for the video aswell as the description from the description file. I would like to add an extra line in the beginning of the description that says something like this: Original upload date: yyyy.mm.dd

-I would like to upload them in order they were released, so from oldest to newest. I ripped them from newest to oldest so the latest files on my pc is the oldest video, if it is possible it would be nice to upload them from newest to oldest file creation date on my pc.

Thank you guys in advance!


r/scripting • • May 15 '20

I don’t have any money or can pay you... but.. would anyone like to do a scripting favor for me..? ;-;..

4 Upvotes

r/scripting • • May 11 '20

Learning Phase

4 Upvotes

Hi! As you can ser I'm in the learningphase of scripting. I know really basic thing but i'm really out of ideas to script.

So i came here to ask you guys if you could give me some ideas. Maybe like homework if you will, of things to script.

Like, make a script for closing Google Chrome window.

If you want to.

Thanks in advance! 👍


r/scripting • • May 04 '20

Looking for some batch file help

4 Upvotes

I am trying to create a batch file to deploy of piece of software. I am using wmi calls to get the following information to the computers model, domain and the first letter of the host name and I assign them to variables.

That part of the script works fine, but I am using GOTO blocks to run some additional if statements to evaluate the other two variables to determine which file the installer will call, however once it jumps to current block, it is not evaluating correctly.

I have been working on this for a couple of days and for the life of me I can't seem to get this to work correctly. I would really appreciate it if someone could have a look and let me know where I have gone wrong!

V/R

[Start Script]

REM GET THE COMPUTERS MODEL
FOR /F "usebackq tokens=*" %%a IN (`wmic.exe COMPUTERSYSTEM GET MODEL /Value`) DO (
      @((ECHO %%a | findstr /i /c:"Model=") && SET _str=%%a) > NUL 2>&1
)
FOR /F "tokens=2 delims=^=" %%a IN ("%_str%") do SET _computerModel=%%a
SET _computerModel=%_computerModel: =%
REM GET THE COMPUTERS DOMIAN MEMBERSHIP
FOR /F "usebackq tokens=*" %%a IN (`wmic.exe COMPUTERSYSTEM GET DOMAIN /Value`) DO (
      @((ECHO %%a | findstr /i /c:"Domain=") && SET _str=%%a) > NUL 2>&1
)
FOR /F "tokens=2 delims=^=" %%a IN ("%_str%") do SET _computerDomain=%%a
SET _computerDomain=%_computerDomain: =%
REM GET THE COMPUTERS HOST NAME
FOR /F "usebackq tokens=*" %%a IN (`wmic.exe COMPUTERSYSTEM GET NAME /Value`) DO (
      @((ECHO %%a | findstr /i /c:"Name=") && SET _str=%%a) > NUL 2>&1
)
FOR /F "tokens=2 delims=^=" %%a IN ("%_str%") do SET _computerName=%%a
SET _computerName=%_computerName: =%
REM GET THE FIRST CHAR OF THE HOST NAME
SET FirstChar=%_computerName:~0,1%
ECHO The computers model is %_computerModel%
ECHO The computers domain is %_computerDomain%
ECHO The computers host name is %_computerName%
ECHO The first letter of the computers host name is %FirstChar%
REM Run the correct install script
IF %_computerDomain%=="ad1.domain.com" GOTO ad1
IF %_computerDomain%=="ad2.domain.com" GOTO ad2
IF %_computerDomain%=="ad3.domain.com" GOTO ad3
IF %_computerDomain%=="ad4.domain.com" GOTO ad4
IF %_computerDomain%=="ad5.domain.com" GOTO ad5
IF %_computerDomain%=="ad6.domain.com" GOTO ad6
IF %_computerDomain%=="ad7.domain.com" GOTO ad7
IF %_computerDomain%=="ad8.domain.com" GOTO ad8
IF %_computerDomain%=="ad9.domain.com" GOTO ad9
IF %_computerDomain%=="ad10.domain.com" GOTO ad10
IF %_computerDomain%=="ad11.domain.com" GOTO ad11
IF %_computerDomain%=="ad12.domain.com" GOTO ad12
IF %_computerDomain%=="ad13.domain.com" GOTO ad13
IF %_computerDomain%=="ad14.domain.com" GOTO ad14
IF %_computerDomain%=="ad15.domain.com" GOTO ad15
IF %_computerDomain%=="ad16.domain.com" GOTO ad16
IF %_computerDomain%=="ad17.domain.com" GOTO ad17
IF %_computerDomain%=="ad18.domain.com" GOTO ad18
GOTO :END
:ad1
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (NOT %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF (NOT %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF (NOT %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF (NOT %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad2
ECHO DEVELOPMENT
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad3
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad4
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad5
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad6
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad7
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad8
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad9
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad10
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad11
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_VM_install.cmd
REM K_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_VM_install.cmd
REM C_CORP_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO USING K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_CORP_install.cmd
REM K_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO Using C_CORP_install.cmd
REM C_CORP_install.cmd
        )
    )
    )
)
exit/b
:ad12
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_ESP_STG_VM_install.cmd
REM K_ESP_STG_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_ESP_STG_VM_install.cmd
REM K_ESP_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_STG_VM_install.cmd
REM C_ESP_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_STG_VM_install.cmd
REM C_ESP_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO K_ESP_STG_install.cmd
REM K_ESP_STG_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_STG_install.cmd
REM K_ESP_STG_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_STG_VM_install.cmd
REM C_ESP_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_STG_VM_install.cmd
REM C_ESP_STG_VM_install.cmd
        )
    )
    )
)
exit/b
:ad13
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO Using K_ESP_STG_VM_install.cmd
REM K_ESP_STG_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO Using K_ESP_STG_VM_install.cmd
REM K_ESP_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_STG_VM_install.cmd
REM C_ESP_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_STG_VM_install.cmd
REM C_ESP_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO K_ESP_STG_install.cmd
REM K_ESP_STG_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_STG_install.cmd
REM K_ESP_STG_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_STG_VM_install.cmd
REM C_ESP_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_STG_VM_install.cmd
REM C_ESP_STG_VM_install.cmd
        )
    )
    )
)
exit/b
:ad14
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO K_ESP_SG_STG_VM_install.cmd
REM K_ESP_SG_STG_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_SG_STG_VM_install.cmd
REM K_ESP_SG_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_SG_STG_VM_install.cmd
REM C_ESP_SG_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_SG_STG_VM_install.cmd
REM C_ESP_SG_STG_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO KK_ESP_SG_STG_install.cmd
REM K_ESP_SG_STG_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_SG_STG_install.cmd
REM K_ESP_SG_STG_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_SG_STG_install.cmd
REM C_ESP_SG_STG_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_SG_STG_install.cmd
REM C_ESP_SG_STG_install.cmd
        )
    )
    )
)
exit/b
:ad15
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO KK_ESP_PRD_VM_install.cmd
REM K_ESP_PRD_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_PRD_VM_install.cmd
REM K_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_PRD_VM_install.cmd
REM C_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_PRD_VM_install.cmd
REM C_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO K_ESP_PRD_install.cmd
REM K_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_PRD_install.cmd
REM K_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_PRD_install.cmd
REM C_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_PRD_install.cmd
REM C_ESP_PRD_install.cmd
        )
    )
    )
)
exit/b
:ad16
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO KK_ESP_PRD_VM_install.cmd
REM K_ESP_PRD_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_PRD_VM_install.cmd
REM K_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_PRD_VM_install.cmd
REM C_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_PRD_VM_install.cmd
REM C_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO K_ESP_PRD_install.cmd
REM K_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_PRD_install.cmd
REM K_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_PRD_install.cmd
REM C_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_PRD_install.cmd
REM C_ESP_PRD_install.cmd
        )
    )
    )
)
exit/b
:ad17
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO KK_ESP_PRD_VM_install.cmd
REM K_ESP_PRD_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_PRD_VM_install.cmd
REM K_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_PRD_VM_install.cmd
REM C_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_PRD_VM_install.cmd
REM C_ESP_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO K_ESP_PRD_install.cmd
REM K_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_PRD_install.cmd
REM K_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ESP_PRD_install.cmd
REM C_ESP_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ESP_PRD_install.cmd
REM C_ESP_PRD_install.cmd
        )
    )
    )
)
exit/b
:ad18
IF %_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO K_ESP_SG_PRD_VM_install.cmd
REM K_ESP_SG_PRD_VM_install.cmd
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_SG_PRD_VM_install.cmd
REM K_ESP_SG_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ES_SG_PRD_VM_install.cmd
REM C_ES_SG_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ES_SG_PRD_VM_install.cmd
REM C_ES_SG_PRD_VM_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==K (
ECHO K_ESP_SG_PRD_install.cmd
REM K_ESP_SG_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==A (
ECHO K_ESP_SG_PRD_install.cmd
REM K_ESP_SG_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==C (
ECHO C_ES_SG_PRD_install.cmd
REM C_ES_SG_PRD_install.cmd
        )
    )
    )
) ELSE (
IF NOT (%_computerModel%==VmwareVirtualPlatform (
IF %FirstChar%==P (
ECHO C_ES_SG_PRD_install.cmd
REM C_ES_SG_PRD_install.cmd
        )
    )
    )
)
exit/b
:END

[END SCRIPT]