Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: FAT12
  • Order by date
  1. FAT12

    task list windows

    I I want to get the task list (not the process list) runnibg on windows in vbscript. Thanks.
  2. FAT12

    select active windows

    Hi, I want to display a particular windows in all the windows opened on my computer (windows XP) which appears in my task bar. Or , how can i get the list of windows opened ? Thanks.
  3. FAT12

    run a vbscript in dos file

    ok with this code: .bat @echo off echo 'appel vbscript variable2 wihch returns 1 or 0' cscript variable2.vbs > nil IF "%ERRORLEVEL%" == "1" echo VBS returned %ERRORLEVEL% echo %ERRORLEVEL% vbscript Wscript.Echo "Appel script" Dim data data=1 Wscript.Echo "data: " & data...
  4. FAT12

    run a vbscript in dos file

    it doens't work !
  5. FAT12

    run a vbscript in dos file

    Thanks I precise my problem in my script I have a data which its value is 0 or 1 like this Wscript.Echo "Appel script" Dim data data=1 Wscript.Echo "data: " & data (it is a very simply example!) and in my file .bat: echo 'appel vbscript variable2 wihch returns 1 or 0' cscript...
  6. FAT12

    run a vbscript in dos file

    Hi, I have a script in vb which returns 1 or 0 and this script is called in a dos file .bat. Is it possible to get the value returned in my script.* Thanks.
  7. FAT12

    change user

    Hi Is it possible to change in a script the current user in order that to run an application swith this user ? Thanks.
  8. FAT12

    get pid procee running with runAs

    do you arrive to show the calculate ? if yes can you give me your code ? Thanks.
  9. FAT12

    get pid procee running with runAs

    Ok it works ! but the calc doesn't appear... maybe because I don't use the password ?
  10. FAT12

    get pid procee running with runAs

    but what is the difference between these lines ?
  11. FAT12

    get pid procee running with runAs

    I just want to kill the process if necessary and to know if the process run. I tried your code but it doesn't work : 'check number argument result=RunAppUser2("EU\st09346","calc.exe","nounou") WScript.Echo "*****" '************************************************************ ' function...
  12. FAT12

    get pid procee running with runAs

    Hi, Thanks for jours answer. but I have not always an solution to resolve my problem... Is it possible to change user with vb and after to execute the command WshShell.Exec(.... so that the processus will be run with this user ? Frederic.
  13. FAT12

    get pid procee running with runAs

    Thank , I don't know WMI what is it exactly ?
  14. FAT12

    get pid procee running with runAs

    Hi, I want to get pid process running with the RunAs command: RunAppUser=WshShell.Run("runas /user:" & user & " " & CHR(34) & applicationName & CHR(34), 2, FALSE) I can with the exec command: Set oExec = WshShell.Exec(applicationName) Wscript.Echo "PID de l'aapli lancée: " & oExec.ProcessID...
  15. FAT12

    changing user processus with VBS under windows

    Thanks it works ! but is it possible to use runas without a password ? because I don't want that a windows appears. Thanks, Frédéric.
  16. FAT12

    changing user processus with VBS under windows

    Hi, In fact I have an application , and I want that this application run s an other application with a user different of the current user, in order to limit the permissions of this application. I hope it's more clear. Frédéric.
  17. FAT12

    changing user processus with VBS under windows

    Hi, J want to change the user of an application with VBS under windows. Thanks for your answers. Frédéric.

Part and Inventory Search

Back
Top