elchaca Posted March 5, 2016 Share Posted March 5, 2016 (edited) How do I ad this install.cmd to autoit? @Echo off netsh interface set interface name="Ethernet" admin=disabled @echo off netsh interface set interface name="Wi-Fi" admin=disabled @echo off start /wait setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- IF EXIST %Windir%\SYSWoW64 ( REGEDIT /S reg.reg ) ELSE ( REGEDIT /S reg.reg ) @echo off netsh interface set interface name="Ethernet" admin=enabled @echo off netsh interface set interface name="Wi-Fi" admin=enabled EXIT Edited March 5, 2016 by elchaca Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 5, 2016 Moderators Share Posted March 5, 2016 elchaca, Just what are you trying to do here as it looks extremely suspicious to me? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
elchaca Posted March 5, 2016 Author Share Posted March 5, 2016 This is my batch file. My ask how to impletate it inside a autoscript file Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 5, 2016 Moderators Share Posted March 5, 2016 elchaca, Please do not take me for someone stupid - that much is pretty obvious. I will rephrase my question: "What is the purpose of the batch file you posted"? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
elchaca Posted March 5, 2016 Author Share Posted March 5, 2016 The batch is purpose to do a silent install off the setupt.exe file. i like to implementate it in an script by autoit. Is itenough to change the command line start in runwait start /wait setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP I mean: runwait setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 5, 2016 Moderators Share Posted March 5, 2016 elchaca, And the "crack32/64.exe" and firewall commands that figured in your script before you edited it after my first post? The removal of those elements just proves to me that you are up to no good - thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts