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
chibislick

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?

Thanks!


My System SpecsSystem Spec
.

06 Apr 2014   #2
UsernameIssues

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:

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

Windows 7 Professional
 
 

That makes sense. Thanks,
My System SpecsSystem Spec
.


Reply

 Redirection operators in shortcuts




Thread Tools





Similar help and support threads
Thread Forum
Possible redirection virus?
Hello. Not sure if this is the right forum area to ask for help about this problem. Firefox has been giving me some problems for almost two months. Sometimes when I'm browsing a link sends me to a Yahoo or Google error page, the page won't load for several seconds or couple minutes. I didn't...
System Security
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...
Tutorials
ATM operators eye Linux as alternative to Windows XP
Source A Guy
Security News
My Documents redirection bug
I'm sure many of you know that when you redirect My Documents to another location using the location option, Windows will display that folder as "My Documents", even though clicking on the address bar will reveal that the folder retains its original name. I suppose this in and of itself is a...
Customization
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
Folder redirection
Hi. I work in a high school and this year we moved to Win7 Pro from Xp. In the past we have made a lot of folder redirection. Desktops and Startmenus are redirected to certain shares to provide students with locked down desktops and startmenus. We also redict user folders such as My Documents, My...
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 21:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App