Ошибка script file not found

Ошибка в консоли:

scripts.js ERR_FILE_NOT_FOUND

Указал его путь

<script type="text/javascript" src="/js/scripts.js"></script>

На самом деле Путь выглядит так:

C:UsersadminDropboxstameska.rusrcjsscripts.js

  • javascript
  • html
  • css

Yuri's user avatar

Yuri

15.8k8 золотых знаков51 серебряный знак97 бронзовых знаков

задан 17 мар 2017 в 14:24

stiv's user avatar

stivstiv

1,7082 золотых знака17 серебряных знаков53 бронзовых знака

8

  • Попробуйте указать так: <script type="text/javascript" src="js/scripts.js"></script>

    17 мар 2017 в 14:28

  • пишет Failed to load resource: net::ERR_FILE_NOT_FOUND

    17 мар 2017 в 14:38

  • Покажите адрес html файла

    17 мар 2017 в 14:41

  • C:UsersadminDropboxstameska.rusrcindex.html

    17 мар 2017 в 14:54

  • Странно, должно работать с адресом «js/scripts.js». Точно адрес правильный?

    17 мар 2017 в 14:55

2 ответа

Выбирай:

  1. Запустить реальный http-сервер. Тогда абсолютный путь будет считаться относительно него, а не относительно корня диска. При наличии nodejs можно так:

    npm i -g http-server
    http-server -p 3000 src
    
  2. Использовать относительный путь к скрипту:

    <script type="text/javascript" src="js/scripts.js"></script>
    

ответ дан 17 мар 2017 в 17:30

Qwertiy's user avatar

QwertiyQwertiy

121k24 золотых знака121 серебряный знак291 бронзовый знак

1

  • не помогло. Failed to load resource: the server responded with a status of 404 (Not Found)

    18 мар 2017 в 8:36

<script type="text/javascript" src="js/scripts.js"></script>

ответ дан 17 мар 2017 в 16:30

1

  • Не будет работать..

    17 мар 2017 в 16:39

siema wrote: ↑

24 May 2021, 14:00

mikeyww wrote: ↑

24 May 2021, 13:42


I do not know what your images are showing. Are you using Windows File Explorer to execute a script with a .ahk extension?

Yes, I am. I want to open .exe script but this happens. The same with .ahk.
image.png

What is paczkaskryptów 3.3.5 (looks like it says script package in Polish) for?

The other readable text among the pictures is «wypakuj calosc, haslo to«, from Polish translates to «extract/unpack the whole thing, the password is» in English.

Doesn’t seem like you created it, if you don’t understand it. Seems like part of your problem involves trying to use the script for something. Maybe the author of the script can be contacted to provide better details on its usage. If for some reason you can’t contact the original author, then there is little others can do to help any attempt to crack or break somebody’s encrypted script.

I would also suspect (with the others) that this script has Encryptor code by FeiYue, if you were to open it and show us the contents. Looks to be improperly configured or missing files, thus showing the error. This isn’t an AutoHotkey_L problem, but seems more about the misconfiguration or improper usage of an Encryptor script.

The page loads up fine, but console shows a 404 not found error for JavaScript files. I have verified that the code contains the correct JavaScript file name. Any ideas?

The JavaScript file is loaded like this of course by HTML:

<script type="text/javascript" src="jquery.js"></script>

Environment: Windows 7; FastCGI; PHP.
The instructions for installation came from this site:

http://www.microsoft.com/web/platform/phponwindows.aspx

I made a basic html file that looks like this:

<html>

<head></head>
<body>

hello again.
<div id="11">
hello
</div>
<script type="text/javascript" src="http://localhost/analyst_scrape/jquery.js"></script>

<script type="text/javascript">
$("#11").click(fucntion(){

    alert("good bye");
});

</script>
</body>
</html>

The html file gives me a blank page. However when i change the file ext to .php, I get the following error in console:

GET http://localhost/analyst_scrape/jquery.js 404 (Not Found) test.php:10
Uncaught ReferenceError: $ is not defined 

Question

Issue: How to fix “Can not find script file C:Windowsrun.vbs” error ?

Hi, I tried logging into my computer and a black screen appeared with an error window stating that the Windows startup file cannot be found. I have no idea what this is. How can I fix this “Can not find script file C:\Windows\run.vbs” error?

Solved Answer

“Can not find script file C:\Windows\run.vbs” is an error which might appear on Windows operating systems[1]. Researchers note that this issue is not related to the software/hardware or applications. In fact, it indicates that your computer is infected with malware[2].

You can encounter a black screen when trying to log in into the computer as the malicious program manipulates Userinit registry value and changes Windows default value data with Vbscript filename. Since this virus deletes or moves the .vbs file from the common System32 folder, users receive “Can not find script file C:\Windows\run.vbs” error.

Usually, malware causing “Can not find script file C:\Windows\run.vbs” problem spreads via spam email attachments, peer-to-peer (P2P) networks or malvertising. Users who tend to download music or movies illegally, click on suspicious online ads, or open spam emails risk infecting their computers with this and other cyber threats.

Can not find script file C:Windowsrun.vbs errorCan not find script file C:Windowsrun.vbs error is related to malicious activity on your system.

Note malware which is leading to “Can not find script file C:\Windows\run.vbs” error can be programmed to perform other malicious actions on your system, including the following:

  • Logging keystrokes;
  • Infiltrating potentially unwanted programs (PUPs) or malware;
  • Creating a backdoor by connecting the PC to the remote server.

Our security experts recommend you to protect your computer and private information. For that, you should use a reliable antivirus software to perform regular scans and eliminate potentially unwanted programs (PUPs) or malware. RestoroMac Washing Machine X9 can help you fix “Can not find script file C:\Windows\run.vbs” error automatically and uninstall the malware as well.

Otherwise, you can try to fix “Can not find script file C:\Windows\run.vbs” issue by resetting the registry keys back to defaults. However, as it might get risky to cause more system damage, we have prepared instructions showing how to fix “Can not find script file C:\Windows\run.vbs” below.



Fix it now!




Fix it now!

To repair damaged system, you have to purchase the licensed version of Restoro Mac Washing Machine X9.

Note that if you choose to fix “Can not find script file C:\Windows\run.vbs” error manually, you must not forget to uninstall the malware as well. Unfortunately, this can only be done by running a full system scan with a professional antivirus or by an IT specialists.
This video will make your life easier:

Method 1: Edit Registry Keys



Fix it now!




Fix it now!

To repair damaged system, you have to purchase the licensed version of Restoro Mac Washing Machine X9.

Please, be attentive when editing Windows Registry[3] keys — if you fail to enter them correctly it might lead to further damage of the operating system. Likewise, carefully follow these steps:

  1. Log in and press CTRL + ALT + DEL until Task Manager appears;
  2. Click File button and select Run New Task;

    Fix C:Windowsrun.vbs errorStart eliminating C:Windowsrun.vbs error by creating new explorer.exe task.

  3. Type explorer.exe and press Enter;
  4. Press Windows key + R and enter Regedit.exe;
  5. Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Winlogon;

    Fix Can not find script file C:Windowsrun.vbs errorYou can edit registry keys to fix Can not find script file C:Windowsrun.vbs error.

  6. Double-click on Userinit item;
  7. Change the value data from wscript C:WINDOWS\run.vbs to C:\Windows\system32\userinit.exe;
  8. Log off and log in again.

Method 2: Change the value of .vsb key



Fix it now!




Fix it now!

To repair damaged system, you have to purchase the licensed version of Restoro Mac Washing Machine X9.

  1. Click Windows key + R and submit Regedit.exe;
  2. Go to Computer\HKEY_CLASSES_ROOT\.vbs on the left;

    C:Windowsrun.vbs error fixYou can get rid of C:Windowsrun.vbs error by changing the value of the .vbs key.

  3. Double-click Default value;
  4. Set the value to VSBFile;
  5. Click OK and check if the problem is resolved.

Repair your Errors automatically

ugetfix.com team is trying to do its best to help users find the best solutions for eliminating their errors. If you don’t want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

do it now!

Download Fix
 

Happiness
Guarantee

do it now!

Download Fix
 

Happiness
Guarantee

Compatible with Microsoft Windows
Compatible with OS X

Still having problems?
If you failed to fix your error using RestoroMac Washing Machine X9, reach our support team for help. Please, let us know all details that you think we should know about your problem.

Restoro — a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Mac Washing Machine X9 — a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user’s computer.
To repair damaged system, you have to purchase the licensed version of Restoro malware removal tool.To repair damaged system, you have to purchase the licensed version of Mac Washing Machine X9 malware removal tool.

Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services as Netflix, BBC, Disney+, and other popular streaming services without limitations, regardless of where you are.

Malware attacks, particularly ransomware, are by far the biggest danger to your pictures, videos, work, or school files. Since cybercriminals use a robust encryption algorithm to lock data, it can no longer be used until a ransom in bitcoin is paid. Instead of paying hackers, you should first try to use alternative recovery methods that could help you to retrieve at least some portion of the lost data. Otherwise, you could also lose your money, along with the files. One of the best tools that could restore at least some of the encrypted files –  Data Recovery Pro.


Go to AutoHotkey


r/AutoHotkey

This is a place to get help with AHK, programming logic, syntax, design, to get feedback, or just to rubber duck. There is zero tolerance for incivility toward others or for cheaters. Be sure you read the rules, read the sticky, keep your AHK up to date, be clear about what you need help with, and never be afraid to post. We’re all here to either teach or be taught, so be good to each other. I wish you all the best.
~GroggyOtter




Members





Online



‘Script File Not Found’ error when trying to run as administrator.

This has never been a problem before so I don’t know what the problem is, the only thing I can think of is a Windows update to version 1803.

When right click the .ahk file and clicking run as administrator I get a «Script File Not Found».

When I use the code:

if not A_IsAdmin
{
   Run *RunAs "%A_ScriptFullPath%"
   ExitApp
}

I get the same error.

Could someone help me with this?

AHK Version 	 = 1.1.28.02
Windows Version = 10.0.17134

Понравилась статья? Поделить с друзьями:
  • Ошибка script error симс 3
  • Ошибка script error в игре
  • Ошибка scrap mechanic unable to
  • Ошибка schannel получено следующее предупреждение о неустранимой ошибке 20
  • Ошибка schannel 36888 что это