Jump to content

Search the Community

Showing results for tags 'comspec'.

  • Search By Tags

    • comspec ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 14 results

  1. This is the AutoIt script I'm using: #include <AutoItConstants.au3> Local $Python = "C:\Program Files\Python38" Local $Script = "levenstein.py" Local $String1Path = @ScriptDir & "\string1.txt" Local $String2Path = @ScriptDir & "\string2.txt" Local $Arguments = '"' & $String1Path & '" "' &...
  2. Hope someone can help as quotes within quotes is always confusing. I am creating a silent install of printer software and want to call via runwait comspec line. The call within a cmd line is below samsung.exe /s /n"Samsung SL-M3220ND" /p"xxx" xxx will be stored as a variable $Printe...
  3. Good morning AutoIt community! Today, I'm here to ask you if you know how to run an .exe from cmd.exe ( Command Prompt )... My intention is to read a .ini file where I store an information that has to be included in the shell, and run an .exe with that information... I'll give you an example...
  4. Hi guys, This is probably an obvious one, but I really don't use this command at all so am hoping you can spot my mistake. I'm running a powershell script on a schedule with the following script in a function, the function is being called in a loop, but the console process is not closing i...
  5. Hello, I've some troubles whit the run command. Below u see 2 command's , 1 is working and the other not. (the first isn't working) I think the problem is in te space between program and files.Also I've treid every thing i could think of or the helpfiles handed to me. (or maybe I din't...
  6. hello, I'm trying to make a check if a process is running on a remote PC. This is what i got this far when I edit a found snippet on this forum. The function _CMDreturn returns the output of the command line command. In this output I want to scan if there is a line whit "process ms...
  7. Hi, I want to install chocolatey (https://chocolatey.org/) with AutoIt. I just need to send the following command to cmd: @powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%P...
  8. Hello everyone, I'm working on a WMIC uninstaller. A quite simple one with a button to display product names in a editable list (for copy/paste purposes) but the main problem is that in order to achieve this, in my corporation, normal users cannot uninstall softs. What I found/adapt so far: #includ...
  9. Hi guys, I have this batch file that run the following code and it work fine. C:\Windows\System32\cmd.exe /C set __COMPAT_LAYER=RunAsInvoker & start "" "C:\Program Files\test 123\test 123.exe" but I'm trying to use autoit @comspec to compile it to a executable file. I'm having problem with th...
  10. I'm using my script to monitor established connections with the network. I'm using combination of RUN and NETSTAT command, however, constantly calling netstat from CMD doesn't feel elegant enough, and it's causing my script to perform really slow. Is there more elegant solution, an alternative for c...
  11. It doesn't seem that I can run Sysprep in Windows 8 RP x64 using @ComSpec. I have no problem running other apps using either Run() or RunWait() in the same app. I am testing in Audit Mode (Administrator account, UAC is disabled). I already searched the forums and didn't find any one else trying to e...
  12. Can't make it work when spaces are in the directory names. Tried the following: FYI (c:tempnew folder) is a @ScriptDir CMD DOS (batch) WORKS "c:tempMy Folderappspsloglist.exe" -accepteula -d 14 Application > "c:tempmy Folderout12.txt" AutoIT Does Not RunWait(@ComSpec & ' /c "'&@ScriptDir&'appspsl...
  13. Can't make it work when spaces are in the directory names. Tried any possible quotations.. All my directories and script in "My Documents" Your help will be appreciated!! Global $ToolPath = @ScriptDir&"\Myutility" ;;;; \My Documents\main.au3) Global $myoutput = $ToolPath&"\output" Global...
  14. It's Weird. I think I don't get it. Why it doesn't work like it is supposed to? I need to create a Script to monitor one of our fileservers to check how many users and what users opens how many .EXEs at this server. The DOS command to do that is simple: openfiles /query /FO table /V...
×
×
  • Create New...