Solved In File Explorer, can I open a file in an elevated command prompt?


LAPIII

Well-known member
Local time
10:00 AM
Posts
63
OS
Windows 11
Or just command prompt for that matter?
 
Windows Build/Version
OS Name Microsoft Windows 11 Home Version 10.0.22621 Build 22621

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 5700U16.0GB Dual-Channel Unknown @ 1596MHz (22-22-...512MB ATI AMD Radeon Graphics (HP)
OS
Windows 11
Computer type
Laptop
CPU
AMD Ryzen 7 5700U
Motherboard
HP 887A (FP6)
Memory
16.0GB Dual-Channel Unknown @ 1596MHz (22-22-22-52)
Graphics Card(s)
512MB ATI AMD Radeon Graphics (HP)
Monitor(s) Displays
Generic PnP Monitor
Screen Resolution
1920x1080
Hard Drives
238GB KBG40ZNV256G KIOXIA (Unknown (SSD))
Mouse
Razer Naga Pro
Internet Speed
424.4 Mbps download 230.5 Mbps upload
Browser
Microsoft Edge
Antivirus
Bitdefender Total Security

My Computers My Computers

  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 11th Gen. 2.40GHz12GB
    OS
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 10th Gen. 2.90GHz16GBOnboard, no VGA, using a DisplayPort-to-VGA a...
    Operating System
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
Please define exactly what you mean by opening a file in a command prompt. Files open in the application they are associated with.

All the best,
Denis
 

My Computer My Computer

At a glance

Windows 11 Home x64 Version 25H2 Build 26200....
OS
Windows 11 Home x64 Version 25H2 Build 26200.8037
File Explorer is a Windows tool and the Command Window is a DOS environment and I would not expect to be able to launch a file from FE that would open in a DOS Command window.
Command prompt window is for running command strings and not for running apps. As Denis said "Files open in the application they are associated with."
 

My Computers My Computers

  • At a glance

    Windows 11 ProAMD Ryzen 9 8945HS32GB DDR5 SO-DIMMIntegrated AMD Radeon 780M (4.00 GHz)
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    GMKtec K11
    CPU
    AMD Ryzen 9 8945HS
    Memory
    32GB DDR5 SO-DIMM
    Graphics Card(s)
    Integrated AMD Radeon 780M (4.00 GHz)
    Monitor(s) Displays
    Benq 2250HM
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 TB PCIe 4.0 NVMe M.2 SSD
  • At a glance

    Windows 11 HomeIntel® Core™ Ultra 7 - 255H processor16 GB LPDDR5 SDRAMIntel Arc 140T onboard graphics
    Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14 OLED 14" Laptop - UX3405CA-QL192W
    CPU
    Intel® Core™ Ultra 7 - 255H processor
    Memory
    16 GB LPDDR5 SDRAM
    Graphics card(s)
    Intel Arc 140T onboard graphics
    Screen Resolution
    1920 x 1200 (16:10 WUXGA resolution) OLED Touchscreen
    Hard Drives
    1TB SSD
If you mean to open a command prompt from the file explorer location, just type in cmd at the address bar.
It will open that command prompt at the directory location.

Screenshot 2023-01-20 115412.jpg
 

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
The OP must be satisfied with the replies, they marked it as Solved.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
The OP must be satisfied with the replies, they marked it as Solved.
A thank you to the poster that answered their question would have been nice.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2Intel Core i7-10700K16GB (8GB PC4-19200 DDR4 SDRAM x2)NVIDIA GeForce GTX 1050 TI
    OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    #1. LG ULTRAWIDE 34" #2. AOC Q32G2WG3 32"
    Screen Resolution
    #1. 3440 X 1440 #2. 1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    PSU
    750 Watts (62.5A)
    Case
    PowerSpec/Lian Li ATX 205
    Keyboard
    Logitech K270
    Mouse
    Logitech M185
    Browser
    Microsoft Edge and Firefox
    Antivirus
    Webroot SecureAnywhere CE 26.1
  • At a glance

    Windows 11 Canary ChannelIntel Core i5-8400 CPU @ 2.80GHz16 MB DDR 4-2666
    Operating System
    Windows 11 Canary Channel
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec G156
    CPU
    Intel Core i5-8400 CPU @ 2.80GHz
    Motherboard
    AsusTeK Prime B360M-A
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Keyboard
    Logitek K270
    Mouse
    Logitek M185
    Browser
    Firefox, Edge and Edge Canary
    Antivirus
    Windows Defender

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 5700U16.0GB Dual-Channel Unknown @ 1596MHz (22-22-...512MB ATI AMD Radeon Graphics (HP)
OS
Windows 11
Computer type
Laptop
CPU
AMD Ryzen 7 5700U
Motherboard
HP 887A (FP6)
Memory
16.0GB Dual-Channel Unknown @ 1596MHz (22-22-22-52)
Graphics Card(s)
512MB ATI AMD Radeon Graphics (HP)
Monitor(s) Displays
Generic PnP Monitor
Screen Resolution
1920x1080
Hard Drives
238GB KBG40ZNV256G KIOXIA (Unknown (SSD))
Mouse
Razer Naga Pro
Internet Speed
424.4 Mbps download 230.5 Mbps upload
Browser
Microsoft Edge
Antivirus
Bitdefender Total Security

Latest Support Threads

Back
Top Bottom