Saturday, December 22, 2012

Command does not work

Sometimes when you copy command from Site and try to run from PowerShell or Command Line.
Command Give error or doesn't give expected result, Although it is correct like command below:
stsadm -o backup -url sitecollectionurl -filename -backupfilepath
Although command appear correct there is some characters incorrect like '-',' '. To eliminate this problem you need to rewrote unascii character (dash, space) and rewrote again. Space here has ascii value is 140 instead of 32

No comments: