Results 1 to 6 of 6

Thread: Need Help

  1. #1
    izloveiz786 is offline Senior Member+
    Last Online
    2nd June 2010 @ 04:44 AM
    Join Date
    26 Jun 2008
    Posts
    121
    Threads
    38
    Credits
    940
    Thanked
    0

    Default Need Help

    Please Help Me.
    Attached Images Attached Images  

  2. #2
    Love_bird's Avatar
    Love_bird is offline Senior Member
    Last Online
    13th May 2019 @ 08:49 AM
    Join Date
    21 Nov 2006
    Location
    Europ K Khawaboon Mein
    Posts
    999
    Threads
    23
    Credits
    1,249
    Thanked
    0

    Default

    AP KAY SYSTEM MEIN EROR A SAKTA SAY JO KO AP KI RAM MEIN AUR HARD DISK YA KESI HARDWARE , CARD WAGHERIA MEIN LIKAN WO BAD MEIN CLEAR KYA JA SAKTA HAY

    YE EAK SECRIPT HAY


    ' CreateProcess.vbs
    '
    ' Usage (using notepad as an example):
    ' cscript CreateProcess.vbs "notepad"

    set args = WScript.Arguments
    num = args.Count
    if num = 0 then
    Wscript.StdOut.Writeline "Usage: [CScript|WScript] CreateProcess.vbs
    arguments"
    WScript.Quit 1
    end if

    Dim sComputer 'computer name
    Dim sCmdLine 'command line of the process
    Dim sCurDir 'working directory of the process
    Dim oProcess 'object representing the Win32_Process class
    Dim oMethod 'object representing the Create method

    Dim oInPar 'object representing input parameters of the method
    Dim oOutPar 'object representing output parameters of the method

    sComputer = "."
    sCmdLine = ""

    For i = 0 to num - 1
    sCmdLine = sCmdLine & WScript.Arguments(i) & " "
    Next

    Wscript.StdOut.Writeline "sCmdLine = " & sCmdLine

    'Set our current directory to where we executed the script
    Set objShell = CreateObject("WScript.Shell")
    sCurDir = objShell.CurrentDirectory
    sCurDir = sCurDir
    Wscript.StdOut.Writeline "sCurDir = " & sCurDir

    Set oProcess = GetObject("winmgmts://" & sComputer & _
    "/root/cimv2:Win32_Process")
    Set oMethod = oProcess.Methods_("Create")
    Set oInPar = oMethod.inParameters.SpawnInstance_()
    oInPar.CommandLine = sCmdLine
    oInPar.CurrentDirectory = sCurDir
    Set oOutPar = oProcess.ExecMethod_("Create", oInPar)

    If oOutPar.ReturnValue = 0 Then
    WScript.Echo "Create process method completed successfully"
    WScript.Echo "New Process ID is " & oOutPar.ProcessId
    Else
    WScript.Echo "Create process method failed"
    End If
    MFA site not allowed, ITDunya team

  3. #3
    izloveiz786 is offline Senior Member+
    Last Online
    2nd June 2010 @ 04:44 AM
    Join Date
    26 Jun 2008
    Posts
    121
    Threads
    38
    Credits
    940
    Thanked
    0

    Default

    Bahi jan yeh bhi bata dayian keh iss ko use kaisay kartay hai aur iss ko save kon si format main karna hai.

  4. #4
    Niqash's Avatar
    Niqash is offline Advance Member
    Last Online
    12th August 2021 @ 10:35 AM
    Join Date
    30 Jun 2008
    Posts
    4,569
    Threads
    160
    Credits
    58
    Thanked
    4

    Default

    Notepad Open karin aur sari Value ko copy pate ker lein Notepad main
    Es Name see save ker lein CreateProcess.vbs
    phir esy Open ker lein

    baki ke Detail aap LOVE BIRD see poch sakty hain shukriya

  5. #5
    izloveiz786 is offline Senior Member+
    Last Online
    2nd June 2010 @ 04:44 AM
    Join Date
    26 Jun 2008
    Posts
    121
    Threads
    38
    Credits
    940
    Thanked
    0

    Default

    bahi jan iss say bachnay ka tariqa kiya hai

  6. #6
    Niqash's Avatar
    Niqash is offline Advance Member
    Last Online
    12th August 2021 @ 10:35 AM
    Join Date
    30 Jun 2008
    Posts
    4,569
    Threads
    160
    Credits
    58
    Thanked
    4

    Default

    Service pack

    Windows Update ker lein theek ho jaye ga system

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •