Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Redirection operators in shortcuts

06 Apr 2014   #1

Windows 7 Professional
Redirection operators in shortcuts

Hi, I'm trying to add redirection operators (>>, in this case) in a shortcut, but it's not working. It's quite puzzling to tell the truth.

This works in command line:

C:\Windows\System32\wbadmin.exe start backup -backuptarget:SOMEPATH -user:SOMEUSER -password:SOMEPASS -allCritical >> c:\logs.txt

In a shortcut? It gives me an error that the >> operator is not a recognized argument of the wbadmin.exe program.

Are there shortcut gurus out here that could point me in the right direction?


My System SpecsSystem Spec
06 Apr 2014   #2

W7 Pro SP1 64bit

Welcome to the Seven Forums.

The redirect chevron is a function of the cmd app.
You can try to construct your shortcut with a target like this:

C:\Windows\system32\cmd.exe /c dir c: > "%userprofile%\desktop\test.txt"
My System SpecsSystem Spec
06 Apr 2014   #3

Windows 7 Professional

That makes sense. Thanks,
My System SpecsSystem Spec


 Redirection operators in shortcuts

Thread Tools

Similar help and support threads
Thread Forum
Search - Find More with Filters and Operators
How to Use Windows Search Filters and Operators to get better Search Results in Windows 7 This tutorial was originally written for Windows 8. Windows Search is basically the same behaving in same way in both Windows 7 and Windows 8. However as Windows 8 has the Modern UI Charms Search which is...
Folder Redirection.
Hi all, Dont know if you can help... We have been running folder redirection, Redirecting users My Documents path only. We used to have users my documents pointed to NAS001 however we are now pointing this to a totally different hostname. We have moved the files across with permissions and...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:44.
Twitter Facebook Google+