Skip to content

Instantly share code, notes, and snippets.

@akrnmd
Last active October 3, 2020 00:02
Show Gist options
  • Select an option

  • Save akrnmd/241852b24e1615f11cb98b9a60737841 to your computer and use it in GitHub Desktop.

Select an option

Save akrnmd/241852b24e1615f11cb98b9a60737841 to your computer and use it in GitHub Desktop.
Use Local Command And Get Response On Windows. #SenseTalk #eggplant
//use example:
//shell "c:\windows\system32\cmd.exe", <</c "ipconfig > C:\Users\[UserName]\tmp.txt">>
shell "c:\windows\system32\cmd.exe", <</c "[YourCommand] > [FileFullPath]">>
put file "[FileFullPath]" into FileContents
log FileContents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment