Driver Installation on my AL14-32P, the system cannot find the path specified using Install.txt

Options
wanderingstar
wanderingstar Member Posts: 8 New User
edited July 14 in Aspire Laptops

Hi,

My objective is to install drivers on my notebook computer, AL14-32P, as provided by Acer.

The contents of Install.txt are as follows:

@echo off

cd /d "%~dp0"

pnputil /add-driver *.inf /subdirs /install

exit 0

The below error message appears after executing the above commands in a command prompt terminal with administrative rights:

The system cannot find the path specified.

Background

I download ISST_Intel_10.29.00.11192_W11x64_A.zip from https://www.acer.com/sg-en/support/product-support/Aspire_AL14-32P/downloads?suggest=Aspire_AL14;2) and save it to my USB flash drive.

I unzip it:

D:\ISST_Intel_10.29.00.11192_W11x64_A

where D:\ is the drive to which the USB stick is attached.

The contents of D:\ISST_Intel_10.29.00.11192_W11x64_A are as follows:

12/07/2025 10:42 am <DIR> .
12/07/2025 10:42 am <DIR> ..
12/07/2025 10:42 am 206 ACIP_Deploy.ini
12/07/2025 10:42 am 294 Detail.txt
12/07/2025 10:42 am <DIR> Drivers
12/07/2025 10:42 am 83 Install.txt
12/07/2025 10:42 am 1,841 Prepackage.xml
12/07/2025 10:42 am 108 Success.tag
5 File(s) 2,532 bytes
3 Dir(s) 316,837,17 1,200 bytes free

I copy Install.txt to Drivers folder.

I launch a command prompt terminal with admin rights and change to the Drivers directory.

Once I am inside the Drivers folder, I use File Explorer to open Install.txt and copy all the four lines.

I paste all the four lines into the command prompt terminal.

I ignore the warning that I have pasted many lines of commands at one go.

I see many lines of text appear in the command prompt terminal.

The last line that appears is:

The system cannot find the path specified.

[I understand that the lines of code in Install.txt are carried out using Microsoft PnP utility. As I'm unfamiliar with it, I post my questions here.]

Questions:

(1) What does the error message "The system cannot find the path specified" mean? What have I done wrong?

(2) Is said driver installed or not?

(3) Which of the four lines of Install.txt produces said error message? Can you guys help me to improve the four lines of commands by editing them?

Thank you guys for your help.

Answers

  • Puraw
    Puraw ACE, Member Posts: 17,886 Trailblazer

    Hi, that error’s coming from this part of the script:

    cd /d "%~dp0"
    

    This line only works when the script is run directly as a .bat or .cmd file. Pasting the lines manually into CMD breaks the %~dp0 logic, since CMD no longer knows where the script came from.

    🧠 Workaround (No script needed):

    1. Open Command Prompt as Administrator.
    2. cmdcd /d D:\ISST_Intel_10.29.00.11192_W11x64_A\Drivers
    3. cmdpnputil /add-driver *.inf /subdirs /install

    This command will scan all .inf files in the current directory and subfolders, install them using Plug and Play utility, and bypass the need for a script entirely.

    ✅ No path error ✅ No need to invoke %~dp0 ✅ Clean install as long as you're in the correct folder

    Bonus tip: If it still fails, double-check the spelling of the folder path and ensure the .inf files are truly present in subdirectories under Drivers.

  • wanderingstar
    wanderingstar Member Posts: 8 New User

    Hi Puraw

    Thanks for your reply.

    Instead of copying and pasting the following command

    pnputil /add-driver *.inf /subdirs /install

    into the elevated command prompt,

    I shall simply change the file extension of Install.txt to Install.bat (or Install.cmd) and execute it.

    What do you think?

    P.S. I shall try my above suggestion and will let you know in a future comment if it works.