28 September 2019, 00:33 | #1 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Alternatives to ".bat" extension in files?
All of my Amiga-related files must have extensions like ADF and EXE and LHA, but I find that if I add BAT extensions to the script files I create for Amiga, and then put them in archives that I then add to email attachments, then Google Mail will flag them as ILLEGAL and fail their delivery, probably because they think that I'm delivering viruses or something.
So what other extension makes sense for Amiga scripts that might be ignored? I'm thinking: .scr .run But is there anything else that applies to a 3-character extension? Sorry to be so restrictive, but even if the Amiga isn't, there are other apps I use that demand them. |
28 September 2019, 02:05 | #2 |
Bane of Magic
Join Date: Nov 2005
Location: Bradford, UK
Age: 38
Posts: 335
|
.ash (Amiga SHell)
based off unix style .sh files, perhaps, though for an amiga script it'd likely have a .info attached with it (with c:iconx default tool)? so maybe an extension is not needed? |
28 September 2019, 04:02 | #3 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
Using an extension for an AmigaOS script is wrong. If you really must use one, I'd avoid ".run" as that is already used for some executables.
For example SFX archive util/arc/lha.run on aminet. How about using LHA or LZX to create the archives? Surely Google won't scan those. |
28 September 2019, 04:04 | #4 |
Registered User
Join Date: Feb 2013
Location: San Antonio, USA
Posts: 74
|
Can you just set the script flag?
|
28 September 2019, 07:02 | #5 | ||
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Quote:
I am seriously considering not bothering with an extension, following all of your friendly advice, because these scripts are solely on the Amiga side, whereas all the other Amiga files are on the Windows side and thus need extensions. Quote:
|
||
28 September 2019, 07:46 | #6 |
Registered User
Join Date: Feb 2013
Location: San Antonio, USA
Posts: 74
|
Then why use any extension at all?
|
28 September 2019, 07:50 | #7 |
Registered User
Join Date: Sep 2014
Location: Poland
Posts: 175
|
I use .dos or .ados extensions.
|
28 September 2019, 08:56 | #8 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,857
|
and what about simple ".s" at the end of your filename?
|
28 September 2019, 09:32 | #9 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Don't do that, this is reserved for asm source code
I use ".script" for shell scripts, to remind me of what the file is for. I may suggest ".scr" if really 3 letters are required, but i fail to see any valid reason for this. |
29 September 2019, 10:23 | #10 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Made the changes yesterday; totally removed all the .bat extensions and no more error messages on GMail.
|
29 September 2019, 11:02 | #11 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
|
If I need to attach archives to emails I sometimes remove the file extension completely from the attached archive which generally prevents any mail services from identifying the file as an archive. Not that it is hard to identify the archive type through the file header, but I guess they don't do that.
|
29 September 2019, 11:25 | #12 |
We need more scans!
Join Date: Feb 2010
Location: Copenhagen / Denmark
Age: 48
Posts: 326
|
if you need to send files using email, you can try using send.firefox.com or wetransfer.com and paste the link it's also good for sending large files.
|
29 September 2019, 12:16 | #13 | |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Quote:
No, thanks. I'll stick with Yahoo! Mail and Google Mail. |
|
29 September 2019, 16:44 | #14 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Speaking of "no extensions needed for scripts", are there ANY Amiga files that need extensions for identification? I would've thought archives would be one thing that is needed, if only for WinUAE to identify the files that are dragged and dropped into it!
I remember back when I was using real Amigas in the 1990s that extensions in filenames were fully optional, but then how do you tell what the files are? If the only way to tell what the file does is via the accompanying icon, then that's not much use if the icon is deleted! All I can say is: thank God I moved to the PC with a much more reasonable filename system (from Win95 onwards at least) - I can only imagine the headaches and clutter that separate icons caused in the world of Amiga. |
29 September 2019, 17:24 | #15 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Filename extensions are a seventies thing, just like all-caps filenames with only eight characters.
Thank God I moved to the Mac where changing a filename from .jpg to .bat doesn't make the system think the file is no longer a picture. |
29 September 2019, 17:27 | #16 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
On Amiga you can identify file type by file header, file suffix or magic. RAW usually hasn't a file header.
It is better to identify file type by header then by some filename extension. It is more save this way. I don't know how Windows works nowadays but back then the identification by ".txt, .zip, ..." was stupid. Too easy to manipulate and make things not work. |
29 September 2019, 18:00 | #17 | |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Quote:
And to be honest, being able to change the extension makes it easy to hide things. |
|
30 September 2019, 16:15 | #18 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Extensions aren't really extensions on Amiga. They're optional and just part of the filename. Amiga goes by actual content to decide what to open the file with, not the name of the file. Other platforms are still waiting to be enlightened.
Just change the extension of a picture to .exe, and it's a virus Probably removing the extension is the best way to fool OSes and virus scanners alike. For a .bat file, .txt might suffice. For something foolproof, just compress it with a lesser known but fully functional archiver. |
30 September 2019, 17:46 | #19 |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
I have a couple of batch files on PC I can attach to emails by changing them to .txt, but the ones inside the LHA archive are not easy at all to change. But, as others have said, just remove the .lha and I'm good to go!
|
30 September 2019, 19:26 | #20 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 324
|
Password protecting the archive will stop it from being scanned too.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" | DemosongIHunter | request.Music | 45 | 23 May 2022 20:07 |
Creating a ".bat" file under CW, is it possible? | Hache | support.Apps | 4 | 30 March 2014 01:21 |
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" | rockape | News | 4 | 30 January 2013 00:06 |
"bug" in GBA 1.43 Game update [RUNME.bat in Games pack zips with paths] | OddbOd | project.MAGE | 2 | 30 August 2007 13:59 |
Amos extension "Craft2" | frikilokooo | request.Apps | 5 | 30 July 2007 22:01 |
|
|