Looking To Learn How To Install Software Using .Bat Files

AGame20

New member
Member
Local time
6:51 AM
Messages
50
Hey Guys,

I've been doing help desk for awhile, and the company I recently started working for had been using .bat files to do silent installations and make life easier. I've been responsible for the installs lately, and some of the files are outdated or I need to create new ones. i've never created them, and would like to learn how. Doing a google search gave me a bunch of different ones that kind of confused me more. If anybody has a solid link to a good how to for beginners or can help, feel free to let me know, as I'm looking to learn. Thanks for your time.
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5532
OS
Windows 7 64 bit
CPU
AMD Athlon(tm) Processor TF-20
Motherboard
Acer Aspire 5532
Memory
2.75/3GB
Graphics Card(s)
ATI Radeon HD 3200 Graphics
Sound Card
High Definition Audio Device
Hard Drives
TOSHIBA MK1655GSX ATA Device

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dude Build
OS
Windows 10 Pro X64
CPU
Intel(R) Core(TM) i5-3570K CPU OC@ 4.5GHZ Turbo
Motherboard
MSI Z77A-G45 Gaming
Memory
8.00 GB DDR3 1600Mhz
Graphics Card(s)
MSI Gaming X GTX 1070
Sound Card
Realtek High Definition
Monitor(s) Displays
Dell S23O9W, HP L1710
Screen Resolution
DELL-1920 x 1080 HP-1280 x1024
Hard Drives
Crucial m4 256 SSD, WD 7200RPM 500GB WD 1TB
PSU
Seasonic X650 GOLD
Case
Zalman Z12
Cooling
Antec Kuhler 920
Keyboard
Logitech
Mouse
MSI DS100 Interceptor
Internet Speed
50 down and 5 up
Antivirus
MSE
Browser
Chrome, IE 11
Other Info
Logitech X-620 Speakers
Thank Dude, I'll definitely check that out now, much appreciated.
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5532
OS
Windows 7 64 bit
CPU
AMD Athlon(tm) Processor TF-20
Motherboard
Acer Aspire 5532
Memory
2.75/3GB
Graphics Card(s)
ATI Radeon HD 3200 Graphics
Sound Card
High Definition Audio Device
Hard Drives
TOSHIBA MK1655GSX ATA Device
Seems like more basic commads and creating menus, any more suggestions? I'd really appreciate it, thanks!
 

My Computer

Computer Manufacturer/Model Number
Acer Aspire 5532
OS
Windows 7 64 bit
CPU
AMD Athlon(tm) Processor TF-20
Motherboard
Acer Aspire 5532
Memory
2.75/3GB
Graphics Card(s)
ATI Radeon HD 3200 Graphics
Sound Card
High Definition Audio Device
Hard Drives
TOSHIBA MK1655GSX ATA Device

My Computer

Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
PSU
ANTEC TruePower New TP-550, 80 PLUS, 550W
Case
ANTEC Three Hundred Illusion
Cooling
COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi
I would recommend creating a folder for your installer and files before doing this.
Once you've done that, try this code:
Code:

 [USER=353699]echo[/USER] off
echo This will install (insert program name here)
pause
cls
echo Installing...
mkdir "folder the files will be installed in"
copy "insert file you want to copy here" "insert destination folder (the one that you specified earlier) here" /h /q /s
rem Copy and paste the "copy" command for each file you want to install.
echo All done!
pause
Here are some useful arguments you can use for your copy command:
Code:
/g - Show the percentage of files being copied
/h - Copy hidden files.
/p - Asks the user for confirmation before installing files.
/q - Quiet mode.
/s - Include subdirectories.
/v - Verify files.
I hope this helps you!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Acer
OS
Windows 10
CPU
Intel Celeron N3150 @1.60 Ghz
Motherboard
Unknown
Memory
8 GB
Graphics Card(s)
Unknown
Hard Drives
465 NTFS SATA Hard Disk
Antivirus
Avast
Browser
Google Chrome
As suggested autoitis one of the best as you can build a stand alone exe with bat files they can be read/altered the other thing with autoit is there is a recorder so you can record what you want to do and it will write the script for you. It has so many functions you cant run with just a batch file
 

My Computer

Computer type
PC/Desktop
OS
win 8 32 bit
Back
Top