Need Refresh command

Kamrul08

New Member
Messages
17
Location
Bangladesh
I need refresh command (DOS Command). I tried tskill explorer but it restarts explorer.
Refresh_Command.png
 

My Computer

System One

  • OS
    Windows 8.1 x64 Enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gigabyte g41 Combo
    CPU
    Core™2 Duo E8400
    Motherboard
    Gigabyte g41 Combo
    Memory
    4GB
    Graphics Card(s)
    builtin
    Sound Card
    builtin
    Monitor(s) Displays
    Samsung CRT
    Screen Resolution
    1024x768
    Hard Drives
    WD 500GB
    Browser
    Chrome
    Antivirus
    MS
Hello Kamrul, and welcome to Eight Forums.

If you like for now, pressing the F5 key will refresh the current active item.

Did your Refresh context menu get messed up?
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Hello Kamrul, and welcome to Eight Forums.

If you like for now, pressing the F5 key will refresh the current active item.

Did your Refresh context menu get messed up?

Thanks Brink.
I don't have problem in context menu or F5. I just need dos command.
 

My Computer

System One

  • OS
    Windows 8.1 x64 Enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gigabyte g41 Combo
    CPU
    Core™2 Duo E8400
    Motherboard
    Gigabyte g41 Combo
    Memory
    4GB
    Graphics Card(s)
    builtin
    Sound Card
    builtin
    Monitor(s) Displays
    Samsung CRT
    Screen Resolution
    1024x768
    Hard Drives
    WD 500GB
    Browser
    Chrome
    Antivirus
    MS
I'm not aware of a DOS command for refresh.
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
What are you trying to refresh ?
 

My Computer

System One

  • OS
    Windows 8.1.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gateway
    CPU
    AMD K140 Cores 2 Threads 2 Name AMD K140 Package Socket FT1 BGA Technology 40nm
    Motherboard
    Manufacturer Gateway Model SX2110G (P0)
    Memory
    Type DDR3 Size 8192 MBytes DRAM Frequency 532.3 MHz
    Graphics Card(s)
    ATI AMD Radeon HD 7310 Graphics
    Sound Card
    AMD High Definition Audio Device Realtek High Definition Audio USB Audio Device
    Monitor(s) Displays
    Name 1950W on AMD Radeon HD 7310 Graphics Current Resolution 1366x768 pixels Work Resolution 1366x76
    Screen Resolution
    Current Resolution 1366x768 pixels Work Resolution 1366x768 pixels
    Hard Drives
    AMD K140
    Cores 2
    Threads 2
    Name AMD K140
    Package Socket FT1 BGA
    Technology 40nm
    Specification AMD E1-1200 APU with Radeon HD Graphics
    Family F
    Extended Family 14
    Model 2
    Extended Model 2
    Stepping 0
    Revision ON-C0
    Instruction
    Browser
    Opera 24.0
    Antivirus
    Avast Internet Security

My Computer

System One

  • OS
    Windows 8.1 x64 Enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gigabyte g41 Combo
    CPU
    Core™2 Duo E8400
    Motherboard
    Gigabyte g41 Combo
    Memory
    4GB
    Graphics Card(s)
    builtin
    Sound Card
    builtin
    Monitor(s) Displays
    Samsung CRT
    Screen Resolution
    1024x768
    Hard Drives
    WD 500GB
    Browser
    Chrome
    Antivirus
    MS
If you like, you could use a .vbs file to run your command in instead, then use the command below to refresh.

Code:
Set WSHShell = CreateObject("WScript.Shell")

WshShell.SendKeys "{F5}"
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
I think Brink has the situation covered. :)
 

My Computer

System One

  • OS
    Windows 8.1.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gateway
    CPU
    AMD K140 Cores 2 Threads 2 Name AMD K140 Package Socket FT1 BGA Technology 40nm
    Motherboard
    Manufacturer Gateway Model SX2110G (P0)
    Memory
    Type DDR3 Size 8192 MBytes DRAM Frequency 532.3 MHz
    Graphics Card(s)
    ATI AMD Radeon HD 7310 Graphics
    Sound Card
    AMD High Definition Audio Device Realtek High Definition Audio USB Audio Device
    Monitor(s) Displays
    Name 1950W on AMD Radeon HD 7310 Graphics Current Resolution 1366x768 pixels Work Resolution 1366x76
    Screen Resolution
    Current Resolution 1366x768 pixels Work Resolution 1366x768 pixels
    Hard Drives
    AMD K140
    Cores 2
    Threads 2
    Name AMD K140
    Package Socket FT1 BGA
    Technology 40nm
    Specification AMD E1-1200 APU with Radeon HD Graphics
    Family F
    Extended Family 14
    Model 2
    Extended Model 2
    Stepping 0
    Revision ON-C0
    Instruction
    Browser
    Opera 24.0
    Antivirus
    Avast Internet Security
If you like, you could use a .vbs file to run your command in instead, then use the command below to refresh.

Code:
Set WSHShell = CreateObject("WScript.Shell")

WshShell.SendKeys "{F5}"

Thanks Brink. It works for vbs. Any way to use it in batch file? For example below is my batch file. It's a tool for my native language.

@echo off
title Avro setup
echo.
echo.
echo. Please wait...
echo. Installing Avro Keyboard 5.5
"%~dp0setup.exe" /VERYSILENT /NORESTART
tskill "Avro Keyboard"
Refresh command will use here
copy Bijoy2003.avrolayout "%allusersprofile%\Application Data\Avro Keyboard\Keyboard Layouts"
copy UniBijoy.avrolayout "%allusersprofile%\Application Data\Avro Keyboard\Keyboard Layouts"
del "%allusersprofile%\Desktop\Avro Spell Checker.lnk" /f /q
exit
 

My Computer

System One

  • OS
    Windows 8.1 x64 Enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gigabyte g41 Combo
    CPU
    Core™2 Duo E8400
    Motherboard
    Gigabyte g41 Combo
    Memory
    4GB
    Graphics Card(s)
    builtin
    Sound Card
    builtin
    Monitor(s) Displays
    Samsung CRT
    Screen Resolution
    1024x768
    Hard Drives
    WD 500GB
    Browser
    Chrome
    Antivirus
    MS
Perfect.

There's not an option to refresh with a .bat file, but you could run the .vbs file within the .bat file if needed.
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Perfect.

There's not an option to refresh with a .bat file, but you could run the .vbs file within the .bat file if needed.
Yes, I thought so. Thanks for appropriate advice.
 

My Computer

System One

  • OS
    Windows 8.1 x64 Enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gigabyte g41 Combo
    CPU
    Core™2 Duo E8400
    Motherboard
    Gigabyte g41 Combo
    Memory
    4GB
    Graphics Card(s)
    builtin
    Sound Card
    builtin
    Monitor(s) Displays
    Samsung CRT
    Screen Resolution
    1024x768
    Hard Drives
    WD 500GB
    Browser
    Chrome
    Antivirus
    MS
If you are able to directly run the .vbs file instead, you could run your command an all from within the .vbs as well instead to save some trouble.
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
If you are able to directly run the .vbs file instead, you could run your command an all from within the .vbs as well instead to save some trouble.

Actually I'm not expert in vbs. So I depend on batch. Your vbs is working fine. But when I'm trying to call it with my batch I think it's not responding. I followed this and this threads and many more from Google.
 

My Computer

System One

  • OS
    Windows 8.1 x64 Enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gigabyte g41 Combo
    CPU
    Core™2 Duo E8400
    Motherboard
    Gigabyte g41 Combo
    Memory
    4GB
    Graphics Card(s)
    builtin
    Sound Card
    builtin
    Monitor(s) Displays
    Samsung CRT
    Screen Resolution
    1024x768
    Hard Drives
    WD 500GB
    Browser
    Chrome
    Antivirus
    MS
Have you tried this line in the .bat file?

wscript "full path of .vbs file"
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Have you tried this line in the .bat file?

wscript "full path of .vbs file"
Yes. I tried wscript "full path of .vbs file" and cscript "full path of .vbs file"

Thanks Brink. Close the topics. I'll use tskill explorer.
 

My Computer

System One

  • OS
    Windows 8.1 x64 Enterprise
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gigabyte g41 Combo
    CPU
    Core™2 Duo E8400
    Motherboard
    Gigabyte g41 Combo
    Memory
    4GB
    Graphics Card(s)
    builtin
    Sound Card
    builtin
    Monitor(s) Displays
    Samsung CRT
    Screen Resolution
    1024x768
    Hard Drives
    WD 500GB
    Browser
    Chrome
    Antivirus
    MS
Back
Top