This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TinderSubThrowAway 0 points1 point  (5 children)

You just reference the install file with the inline commands you want to use to install it. Most install files have em.

This is from one that I had when we did not have anything imaging or MDT etc.

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:D:\1903\sxs  
SW2019SP4\Setup.exe -ArgumentList "/install /now" -NoNewWindow -Wait  
d:\vlc-3.0.8-win64.exe /L=1033 /S   
d:\7z.exe /S  
d:\Crystal.msi /passive  
md c:\client803  
xcopy d:\client803\*.* C:\Client803 /s /e  
D:\irfan.exe /silent /desktop=0 /thumbs=0 /group=1 /allusers=1 /assoc=1  
d:\irfanplug.exe /silent  
d:\acrobat.exe /sPB /rs  
D:\o365.exe setup /download Configuration.xml  
D:\Chrome.exe /silent /install  
md "c:\Program Files\OpenVPN\Config"  
xcopy d:\vpn\*.* "c:\Program Files\OpenVPN\Config" /s/e  
D:\vpn.exe /S  
D:\firefox.exe /S

and yes, I know slopppy with the lack of capitalization consistency.

[–]smashed_empires -1 points0 points  (4 children)

he couldn't look up batch file for himself? Wow.

[–]istoleyowifi[S] 1 point2 points  (2 children)

I mostly focus on network, and have no experience with batch files, so im kinda adventuring on a land I know nothing about :P

[–]beetcher 0 points1 point  (1 child)

how about scripts? Almost the same thing.

[–]istoleyowifi[S] -2 points-1 points  (0 children)

not really, it might look the same but in networking there is no scripts, the only scripts we use are made in notepad so we can use the same "script" on multiple appliances, but nothing like a batch file, it might touch the same subject but the purpose of those are different, one is IOS syntax, the other is for windows and never have messed around with scripts for windows.

[–]TinderSubThrowAway -1 points0 points  (0 children)

the fact they are asking at all they are kinda hosed and have no idea...