RoboCopy log needs .txt file extension


Haydon

Well-known member
Power User
VIP
Local time
4:32 PM
Posts
1,992
OS
Windows 10 Pro
I create a RoboCopy log with the switch
/LOG:"path\logfilename" and because I have several command lines, I append
/LOG+:"path\logfilename" to consolidate the RoboCopy log in 1 log file

It always worked, i.e. the RoboCopy log file has a Notepad icon and when I double click the icon, Notepad opens the RoboCopy log file.

But recently, the RoboCopy log file has a generic icon and when I double click the icon, the OS asks what app shall be used and if I choose Notepad, then the RoboCopy log file opens with no problems.

It is thus not a real problem, but it makes me wonder, has anyone else experienced this too?

Anyway, I made the switches more precise by adding the .txt file extension

/LOG:"path\logfilename.txt"
/LOG+:"path\logfilename.txt"

and now the (consolidated) RoboCopy log file has the Notepad icon and upon double clicking the icon, Notepad opens the RoboCopy log file.

Perhaps the switches should have been that way in the first place :eek1:
 

My Computer

System One

  • OS
    Windows 10 Pro
Also works with logfilename.log, which can be more helpful if you use search filters a lot when searching disk drives and folders.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
Back
Top Bottom