Manage onedrive shortcut and zip winrar

24 de novembro de 2022   |   by administrador

Here’s the generic command:
mklink /J desired_name "OneDrive - company

Here’s what I used:
mklink /J OneDriveMS "OneDrive - Microsoft"

or

cmd /c mklink /J "OneDriveMS" '.\OneDrive - company \'

Enable xp_cmdshell SQL Server for use winrar

-- Show Advanced Options
EXEC sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
-- Enable xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
GO
-- Hide Advanced Options
EXEC sp_configure 'show advanced options', 0
GO
RECONFIGURE
GO