Windows 10: I delete the run vbs file what should i do?

Discus and support I delete the run vbs file what should i do? in Windows 10 Network and Sharing to solve the problem; I delete the file what should i do... Discussion in 'Windows 10 Network and Sharing' started by ERMAYANI BINTI IDRIS, Oct 5, 2023.

  1. I delete the run vbs file what should i do?


    I delete the file what should i do

    :)
     
    ERMAYANI BINTI IDRIS, Oct 5, 2023
    #1

  2. VBS Msgbox

    Denis,

    • I was too lazy to compute the size programmatically. And, it the 2005 version the message box always came up hidden, so I always used 0 for the top. It's also part of my OCD to be able to control everything.
    • I personally don't need it to timeout. I used this in vbs files to ask to continue to the next step, skip the next step or cancel the vbs. BTW, I added the code back in but keep it assign it to 0.
    • Sound was calling Windows Media Player: WshShell.Run "C:\Users\donast\desktop\sndrec32.lnk",7,false the lnk is a shortcut on my old desktop that had: "C:\Program Files (x86)\Windows Media Player\wmplayer.exe"
      "C:\Users\Public\Music\Wavefiles\Twilight.wav"
    • Yes. The value is the number of the button in the order specified when calling it.
    • Never really thought about it as all my VBS/VBA code is relatively simple and I add comments in the file as necessary to remind me what is going on. I don't usually have anyone to share my code.
    FYI I use a VBS to call it. Here's a line from a test vbs I use to run your version:

    choice=Wshshell.run("custommsgbox.vbs " & wscript.scriptname & " ""CopyFiles.vbs done. Continue with UnArchVista.vbs?"" ""White"" ""Black"" 40 ""Yes"" ""No"" ""Cancel""",1,true)

    Copy it to a text editor to see all the spaces, etc. Took me a while back the to figure it out.

    Don
     
    DRARetired, Oct 5, 2023
    #2
  3. Running a VB Script File Using Windows 10 Task Scheduler

    Here is my VB Script code:

    Option Explicit    

    Dim objExcel, strPathExcel

    Set objExcel = CreateObject("Excel.Application")

    strPathExcel = "C:\Users\John J\Documents\Great Oaks\2018 Season\Handicap Test.xlsm"

    objExcel.DisplayAlerts = False

    objExcel.Workbooks.Open strPathExcel

    objExcel.Application.Run "'Handicap Test.xlsm'!HandicapRunTrial"

    objExcel.ActiveWorkbook.SaveAs strPathExcel

    objExcel.Workbooks.close

    objExcel.Application.Quit

    WScript.Quit

    In Task Scheduler Library, created a folder called "GOCC"

    I than hit "Create Basic Task", name it and give brief description/

    From the "Trigger" menu, I give a start date and time.

    From the "Action" menu, I hit "Start", and browse for my vbs file. I click on it and the full path command is listed. The task is listed in the Scheduler.

    Then I double click on the task, I keep the user account as "John J", click on " Run whether or not user is logged on or not, click

    "Run with highest privileges", click on "Hidden" and then configure the task for "Windows 10." I hit "OK" which the computer prompts me for my password. I enter it and hit "ok."

    The problem is that the vbs never runs at the designated date and time. I do not understand why it does not work.

    Thanks
     
    John JVrana, Oct 5, 2023
    #3
  4. Kem Mon Win User

    I delete the run vbs file what should i do?

    Unable to delete a file

    Hi Brent,

    There are a lot of possible reason why the issue occurs, we suggest that you access
    safe mode
    and
    delete the files there. If the same issue occur,
    reboot
    your PC and run these following
    methods of troubleshooting
    steps:

    Method 1:
    Run SFC Scan.  

    To run an
    SFC scan, follow these steps:  


    • Run
      Command Prompt as Administrator.  

    • Type
      sfc /scannow
      and hit
      Enter.   

    Method 2:
    Run DISM Tool.  

    To run
    DISM Tool, follow these steps:


    • Run
      Command Prompt as Administrator.  

    • Type the following command:  

      • DISM.exe /Online /Cleanup-image /scanhealth  

      • DISM.exe /Online /Cleanup-image /Restorehealth  

    NOTE:
    This might take a while to finish scanning.
    Do not cancel. 

    Method 3: Clean Boot.

    To perform a
    Clean Boot, click
    here.

    Note:
    Reset the computer back to
    Normal Mode
    once you are done with the troubleshooting by following the section
    "How to reset the computer to start normally after clean boot troubleshooting"
    from the same article.

    Let us know how it goes.

    Regards.
     
    Kem Mon, Oct 5, 2023
    #4
Thema:

I delete the run vbs file what should i do?

Loading...
  1. I delete the run vbs file what should i do? - Similar Threads - delete run vbs

  2. what should i do if i delete the UnknownS-1-15 file

    in Windows 10 Gaming
    what should i do if i delete the UnknownS-1-15 file: I deleted the UnknownS-1-15 file and i watched a video on YouTube about it and the guy from the video said you should not do that but i did and i dont know what to do...
  3. what should i do if i delete the UnknownS-1-15 file

    in Windows 10 Software and Apps
    what should i do if i delete the UnknownS-1-15 file: I deleted the UnknownS-1-15 file and i watched a video on YouTube about it and the guy from the video said you should not do that but i did and i dont know what to do...
  4. Can't delete an encrypted PDF file. What should I do?

    in Windows 10 Gaming
    Can't delete an encrypted PDF file. What should I do?: I'm trying to delete a PDF file on OneDrive that is encrypted. No matter what or how many times I try, it still won't be deleted - perhaps because it is school-related. According to its properties, it was first created/downloaded on 6/15/2023, and it was on Windows 11. Of...
  5. Can't delete an encrypted PDF file. What should I do?

    in Windows 10 Software and Apps
    Can't delete an encrypted PDF file. What should I do?: Just to be clear as possible, I'm trying to delete a PDF file that is encrypted. No matter what or how many times I try, it still won't be deleted - perhaps because it is school-related. According to its properties, it was first created/downloaded on 6/15/2023, and it was on...
  6. What should I do if I accidentally delete Realtek?

    in Windows 10 Installation and Upgrade
    What should I do if I accidentally delete Realtek?: What should I do if I accidentally delete Realtek? https://answers.microsoft.com/en-us/windows/forum/all/what-should-i-do-if-i-accidentally-delete-realtek/3340ec93-80d7-4420-9f89-4330e02c7449
  7. I delete the run vbs file what should i do?

    in Windows 10 Gaming
    I delete the run vbs file what should i do?: I delete the file what should i do https://answers.microsoft.com/en-us/windows/forum/all/i-delete-the-run-vbs-file-what-should-i-do/f12b1797-654c-4f82-83a6-1d37a09402f3
  8. I delete the run vbs file what should i do?

    in Windows 10 Software and Apps
    I delete the run vbs file what should i do?: I delete the file what should i do https://answers.microsoft.com/en-us/windows/forum/all/i-delete-the-run-vbs-file-what-should-i-do/f12b1797-654c-4f82-83a6-1d37a09402f3
  9. i deleted a file in regedit what should i do i deleted the sizer file in regedit is it fine...

    in Windows 10 Customization
    i deleted a file in regedit what should i do i deleted the sizer file in regedit is it fine...: i deleted a file in regedit what should i do i deleted the sizer file in regedit is it fine Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Modules\GlobalSettings\Sizer...
  10. i deleted a file in regedit what should i do

    in Windows 10 Customization
    i deleted a file in regedit what should i do: i deleted the sizer file in regedit is it fine https://answers.microsoft.com/en-us/windows/forum/all/i-deleted-a-file-in-regedit-what-should-i-do/351d18ae-192c-4915-a44c-132bf760900e