To escape a character, simply preface it with a backslash (\). This goes for the backslash character as well.
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace("c:\\windows\\"); //c:\windows\ } } }