Welcome to the Rockbox Technical Forums!
Set WshShell = CreateObject("WScript.Shell")WshShell.Run("c:\cygwin\cygwin.bat") ' run cygwinWScript.Sleep 500WshShell.AppActivate "~" ' focus the frame by titleWScript.Sleep 200Sub write_text(thetext, delayt) For i = 1 To Len(thetext) Step 1 WScript.Sleep delayt WshShell.SendKeys Mid(thetext, i, 1) NextEnd SubSub write_line(thetext, delayt) write_text thetext, delayt send_enter delaytEnd SubSub send_special(thespecial, delayt) WScript.Sleep delayt WshShell.SendKeys "{"&thespecial&"}"End SubSub send_enter(delayt) send_special "ENTER", delaytEnd SubSub send_backspace(delayt) send_special "BACKSPACE", delaytEnd Subwrite_line "cd rockbox/x5build", 10write_line "../tools/configure", 10WScript.Sleep 100write_line "30", 10 ' iAudio X5/X5V/X5Lwrite_line "n", 10 ' "Normal" BuildWScript.Sleep 100write_line "make clean; make; make zip", 10
The issue is that software written for Unix wasn't written to work with Windows-style paths. For example something might misbehave because it doesn't take into account that : is a kind of a path separator. Also, Windows-like paths in Cygwin behave differently from how they behave normally in Windows apps, and this can add to the confusion. (For example in Windows each drive has its own current directory and a drive letter followed by a colon refers to it, while in Cygwin there is only one current directory.)
Page created in 0.086 seconds with 17 queries.