Windows 10: cmd script error

Discus and support cmd script error in Windows 10 BSOD Crashes and Debugging to solve the problem; This script used to work or maybe I'm feeding the wrong parameters. But can anyone see what's wrong and why I get an error. I am trying to get a... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by NeedAFixSoon, Jan 25, 2021.

  1. cmd script error


    This script used to work or maybe I'm feeding the wrong parameters. But can anyone see what's wrong and why I get an error. I am trying to get a property of an mp3 file.


    The name of the script is get_info.bat. The contents of the file is:


    @if .%3==. echo Syntax: %0 Pathspec filename index&exit /b 1
    @Echo with CreateObject"Shell.Application"^.Namespace"%~1"^
    echo wsh.echo "%~2", .GetDetailsOf.Items,%3^^&":", _
    echo .GetDetailsOf.Parsename"%~2"^, %3^: end with
    > %temp%\script.vbs
    @cscript //nologo %temp%\script.vbs
    @del %temp%\script.vbs


    I am using these parameters for example:


    get_info.bat m:\mymusic\311\311\ Down.mp3 12


    This is the error I get now:


    C:\Users\username\AppData\Local\Temp\script.vbs1, 1 null: Unspecified error


    Any ideas on the script or the parameters?

    :)
     
    NeedAFixSoon, Jan 25, 2021
    #1
  2. mbmeadows Win User

    Constant script errors and slow loading pages in 10 internet explorer 11

    I have done the steps listed above. They have not helped and I am still getting constant script errors, along with slow loading pages. Are there any other suggestions?
     
    mbmeadows, Jan 25, 2021
    #2
  3. Arul_D Win User
    Tired of script error

    Hi Mohammad,

    Thank you for posting on Microsoft Community. We will assist you in resolving your issue.

    Before assisting further, I would like to ask you few questions regarding the query:

    • What is the complete error message or error code?
    • When exactly are you getting the script errors?
    • Are you getting script errors while using Internet Explorer?
    If yes, I would suggest you to follow the steps in the below link to on troubleshooting script errors in Internet Explorer.

    Refer to the link below on How to troubleshoot script errors in Internet Explorer:

    Script errors in Internet Explorer - Browsers

    Hope this helps!

    Get back to us with the answer to the above question to assist you further on this query. Your reply is most important for us to ensure that we assist you accordingly.

    Thank you.
     
    Arul_D, Jan 25, 2021
    #3
  4. David Haz Win User

    cmd script error

    Can not find script file error

    Hello,

    This could be due to a missing script file or that an application is causing the error. As a first troubleshooting step, we suggest that you locate or navigate to the location listed in the error and see if the file it is looking for is there. If you are
    unable to locate the file, an application is causing this error to pop-up. If that is the case, we suggest that you boot your PC in Safe Mode and see if the error still pops up. You may follow the steps on this
    link on how to start your PC in Safe Mode.

    If the problem does not exist in Safe Mode, we would know that an application is causing the error. However, if the problem is presented while in Safe Mode, the problem may be caused by Windows itself.

    We look forward to an update from you.
     
    David Haz, Jan 25, 2021
    #4
Thema:

cmd script error

Loading...
  1. cmd script error - Similar Threads - cmd script error

  2. Local Security Policy script from CMD

    in Windows 10 Network and Sharing
    Local Security Policy script from CMD: Hello! Can be set from Command Prompt, LAN Manager authentication level to Send LM & NTLM - use NTLMv2 session security if negotiated from Network security (Local Security Policy) 175230
  3. Local Security Policy script from CMD

    in Windows 10 Support
    Local Security Policy script from CMD: Hello! Can be set from Command Prompt, LAN Manager authentication level to Send LM & NTLM - use NTLMv2 session security if negotiated from Network security (Local Security Policy) 175230
  4. ATP verification PS script Error on CMD "Access Denied"

    in AntiVirus, Firewalls and System Security
    ATP verification PS script Error on CMD "Access Denied": Hello, I have to verify the newly ATP on board PC and running below script to verify but the error say access denied although I have run cmd with admin privilege's and created a folder also in C as article says but still I don't know why it says "access denied" can anyone...
  5. how to reg add via cmd-script

    in Windows 10 Ask Insider
    how to reg add via cmd-script: Hello everybody, I want to add a registry by starting a cmd-script. Therefore i have implemented the following line: REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /V "%CDh%\Launcher.exe" /t REG_SZ /d "WIN98 256COLOR 640X480" /f But...
  6. Script Error.

    in Windows 10 BSOD Crashes and Debugging
    Script Error.: I shut down my PC last night, then today when I turned it on, before anything else opened, a message popped up saying Script Error. There was an option to continue running scripts and I just pressed “Yes”. I was wondering what this is?...
  7. CMD script to run other scripts then end them after a day

    in Windows 10 BSOD Crashes and Debugging
    CMD script to run other scripts then end them after a day: I need to write a cmd script that I can run and it will start another bash script. Then. After 24 Hours stop that process and restart it https://answers.microsoft.com/en-us/windows/forum/all/cmd-script-to-run-other-scripts-then-end-them/db8702d0-b02b-4447-a80d-2b6a660ef7a5
  8. Only a windows script host error message and a CMD prompt on startup.

    in Windows 10 Support
    Only a windows script host error message and a CMD prompt on startup.: So, i couldn't open cmd (when i opened it, it would automatically close itself instantly) and i searched it on google, i found a topic telling me to delete a registry in regedit (i can't remember the directory but it was under Command Prompt) called "AutoRun", when i deleted...
  9. CMD crash, when invoking my script.

    in Windows 10 BSOD Crashes and Debugging
    CMD crash, when invoking my script.: CMD (Windows 10; I cannot delivery more details, because Windows is not my main system) crash on this script: http://slawek.lach.art.pl/wyj%C5%9Bcie2.bat (download from this link, please) I must wrote, I'm using a special hacks to make this script works both on bash...
  10. cmd Scripts ask for elevated prompt

    in Windows 10 Support
    cmd Scripts ask for elevated prompt: Hello, again *Smile I made a script to run a mmc console for de "Users & Computers of the domain" (DSA.EXE) Code: @Echo Off C:\Windows\System32\runas.exe /netonly /user:domain\user "mmc dsa.msc"[/quote] It was working fine until I ran into this issue : Erreur de...