MSFN Forum: {MAKEDIR} failed and don't know why. - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

{MAKEDIR} failed and don't know why. Now, I know why-missing blank after {MAKEDIR}, my bad. Rate Topic: -----

#1 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,246
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2009 - 02:38 PM

Using WPI 7.6.0 and a {MAKEDIR} failed. The error I got was:

Quote

*** Fail *** (returned code undefined): {MAKEDIR}"C:\Documents and Settings\John\Application Data\Thunderbird"
I copied the command from the log file, pasted it into a command prompt, changed the {MAKEDIR} to md and it worked. I am running XP x64. Thanks for your help. Enjoy, John.

This post has been edited by johnhc: 30 July 2009 - 12:24 PM



#2 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,755
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2009 - 02:42 PM

Hmmm lemme try.

#3 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,755
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2009 - 02:55 PM

Bug confirmed.

#4 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,246
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2009 - 03:15 PM

Thanks, Kels. I changed it to
Cmd /C MD "%AppData%\Thunderbird"
and it worked. Enjoy, John.

#5 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 28 July 2009 - 07:01 PM

If that is the exact text from the log file, then you didn't put a space after {MAKEDIR}. It works fine for me.

#6 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,246
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2009 - 07:27 PM

mritter, that is the exact text and I don't remember deleting the space, but I just tried it again and it works fine. The space was there, I just added my path and all is OK. Thanks, John.

#7 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,755
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 July 2009 - 08:07 PM

Nevermind then. 'twas another ghost bug :P

#8 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,246
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 July 2009 - 09:39 AM

Kelsenellenelvian and mritter, I think I understand how I did this. I selected MakeDir, then selected another command to copy the path. When I went back to the {MAKEDIR} command line, the blank after {MAKEDIR} was gone. I will pay more attention. Sorry about that ghost. Enjoy, and thanks, John.

#9 User is offline   diginode 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 05-September 06
  • OS:XP Pro x86
  • Country: Country Flag

Posted 07 August 2009 - 11:39 PM

actual code written as

Quote

case '{MAKEDIR}':
cmd=("CMD /C " + cmd.replace(/{MAKEDIR}/gi,'md'));


it is works for me, space must be maintained.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy