Old problem with sdelete rematerilaizes

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Old problem with sdelete rematerilaizes

Post by aurumdigitus »

A script that has been working for two years using sdelete has stopped working. XY in use is 9.5 but can't remember when sdelete got used last. Have tried Step Mode but that reports no errors. The DOS box appears and seems to run the utility but selected files do NOT get vaporized.

Here it is:

Code: Select all

//My delete button - right.xys
//Bold added by |1
-
"Nuclear Destruction|C:\Icon Workshop\Single icons\Skull and Bones - red.ico|1" msg "Are you ABSOLUTELY POSITIVELY sure?", 1;
 sound "C:\Sound\Wav Library\War\Explsion.wav";
 openwith """C:\WINDOWS\system32\sdelete.exe"" -p 2 -s <items>", m
-
"Delete - No Recycle Bin|:nuke|1" button "nuke";
-
"Undo last action|:undo" button "undo";
-
"Cancel"

admin
Site Admin
Posts: 66348
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Old problem with sdelete rematerilaizes

Post by admin »

That's the recent <items> bug. Will be fixed in next version.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Old problem with sdelete rematerilaizes

Post by Stefan »

aurumdigitus wrote:A script [...] has stopped working. XY in use is 9.5
Hi aurumdigitus.

It could be that "<items>" is the problem since there was an modification recently:
version (v9.40.0110, 03-sep-2010)
+ New variable <items> returns a space-separated list of the
This new var makes problems with OpenWith(), see http://www.xyplorer.com/xyfc/viewtopic. ... 475#p51475
Admin wrote:Fix comes.

P.S.: i like that sound() part in that script :P

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Old problem with sdelete rematerilaizes

Post by aurumdigitus »

version (v9.40.0110, 03-sep-2010)
+ New variable <items> returns a space-separated list of the
Thanks for the "heads up". That's what someone gets for not reading the fine print.

The sound is a bit of whimsy but does serve as an audio cue that the action is irrevocable.
admin wrote:That's the recent <items> bug. Will be fixed in next version.
Forgive ignorance here but that means next increment not next Beta, yes?

admin
Site Admin
Posts: 66348
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Old problem with sdelete rematerilaizes

Post by admin »

aurumdigitus wrote:
admin wrote:That's the recent <items> bug. Will be fixed in next version.
Forgive ignorance here but that means next increment not next Beta, yes?
next Beta -- it's already uploaded.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Good News and Bad News

Post by aurumdigitus »

The Good: 9.5.001 has taken care of the bug and sdelete is happily obliterating as before.

The Bad: The Installer package again returned XY to its virgin state, this time with 28 days left in evaluation. Had again to use a backup and install Portable by hand.

Don - You requested a copy of the ini for examination. Giving it a cursory glance at the nearly 1100 lines, it has in it what might be termed certain "proprietary business information". Until I can find time to edit that out is there anything else that might correct what is rapidly becoming a highly vexing problem?

admin
Site Admin
Posts: 66348
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Good News and Bad News

Post by admin »

aurumdigitus wrote:The Good: 9.5.001 has taken care of the bug and sdelete is happily obliterating as before.

The Bad: The Installer package again returned XY to its virgin state, this time with 28 days left in evaluation. Had again to use a backup and install Portable by hand.

Don - You requested a copy of the ini for examination. Giving it a cursory glance at the nearly 1100 lines, it has in it what might be termed certain "proprietary business information". Until I can find time to edit that out is there anything else that might correct what is rapidly becoming a highly vexing problem?
I think I said startup.ini, not xyplorer.ini. startup.ini is (should be) where the EXE is.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

The plot thickens!

Post by aurumdigitus »

Using Find Files on the XYplorer folder turns up no file named startup.ini.

Is that the problem? :?

admin
Site Admin
Posts: 66348
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: The plot thickens!

Post by admin »

aurumdigitus wrote:Using Find Files on the XYplorer folder turns up no file named startup.ini.

Is that the problem? :?
Yes, you are trying to install an installer package (with startup.ini) onto a portable package (without startup.ini).

The best for you would be you create startup.ini yourself and fill it with your current app data path.
It usually look like this:

Code: Select all

[Appdata]
Path=%appdata%\XYplorer
So you would write your app data path in the place of %appdata%\XYplorer.

Understood? Do you know where you app data path is? Use menu Go / Go to app data folder to find out...

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

The deed is done

Post by aurumdigitus »

Have followed your instructions carefully and created the startup.ini. Will hold breath on next upgrade with installer. How this execrable situation arose is beyond me.

How insidiously clever that you put Go / Go to app data folder in the Menus.

admin
Site Admin
Posts: 66348
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: The deed is done

Post by admin »

aurumdigitus wrote:Have followed your instructions carefully and created the startup.ini. Will hold breath on next upgrade with installer. How this execrable situation arose is beyond me.

How insidiously clever that you put Go / Go to app data folder in the Menus.
I'm curious: where is your app data folder? ( if you can say without spilling company secrets, of course)

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Old problem with sdelete rematerilaizes

Post by aurumdigitus »

admin wrote:I'm curious: where is your app data folder?
Pure vanilla - C:\Program Files\XYplorer\

Thanks for your aid here. It really would be illuminating to know that happened to that pesky startup.ini file. :roll:

admin
Site Admin
Posts: 66348
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Old problem with sdelete rematerilaizes

Post by admin »

aurumdigitus wrote:
admin wrote:I'm curious: where is your app data folder?
Pure vanilla - C:\Program Files\XYplorer\

Thanks for your aid here. It really would be illuminating to know that happened to that pesky startup.ini file. :roll:
I guess you deleted it. :P

FYI, a completely empty startup.ini would also suffice to support and preserve your setup.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Old problem with sdelete rematerilaizes

Post by aurumdigitus »

I guess you deleted it. :P
Either that or poltergeist are at work.

Post Reply